This repo houses the content for tutorials, see this repo for the code that builds the websites.
I want to get started straight away!
- Clone this repo and open a terminal in that folder
- (Optional - run_server.sh will run this script anyway) Run
python3 install.py
- Run
./run_server.sh
- Clone this repo
- Run
python3 install.py
(make sure you have python3 installed) - cd (change directory) using command prompt into folder where this repository was cloned
- Run
bin/tutorial_web.exe --help
for help ORbin/tutorial_web.exe start-test-server -s bin/static -i courses
to start the server
You write courses in .yml
files (YAML) and then the code reads them and builds websites from them. Checkout the courses
folder for examples of how other courses used them.
Also see these examples for some other examples explaining how it works.
All the content is in the courses
folder. Within that folder there are course group folders (e.g. courses/python
) which house a series of similar courses.
If you want to include assets with your project you must name the folder the same as the .yml
file. See this for more information.
All the courses are automatically rendered here.
If you want to view them locally run the script called run_server.sh
(this should help you install everything you need).
All pull requests are automatically rendered here (once the pull request is closed the deployment disappears).
Usage instructions are included with all releases (once you install locally see the bin
folder). But you can find the latest instructions here.
You can also look at the build script in this repo or run tutorial_web build --help
for some information on running the command.