The webpage is hosted on bioinformaticscrashcourse.com.
To get started, you need to:
- Clone this GitHub repository to your local machine
- Run
make htmlin the project's parent directory, which will create the website using the.mdfiles. If this works*, you're all set! If this does not, continue to the next step. - Run
pip install sphinx, then runpip install recommonmark, and finally runpip install sphinx-rtd-theme. Try runningmake htmlagain. If this fails, ask a previous crash course developer to help you troubleshoot.
* "works" means that you get the message: The HTML pages are in build/html.. Warnings are expected and don't need to be corrected.
To create a new lesson you need to perform the following steps directly on GitHub:
- Create a new
.mdfile under thesourcedirectory. You should name it something like#_LessonName.md. - Open
index.rstand add the name of the.mdfile you created to the existing list. You should keepAbout This Courseas the last entry in the list. Keep in mind that indentation matters! - Edit your new
.mdfile directly on GitHub. You'll be able to see what it looks like in Markdown format after saving, which is very similar to how it will render on the website.
To create a new lesson you need to perform the following steps on your local machine:
- Create a new
.mdfile under thesourcedirectory. You should name it something like#_LessonName.md. - Open
index.rstand add the name of the.mdfile you created to the existing list. You should keepAbout This Courseas the last entry in the list. Keep in mind that indentation matters! - Create your lesson in the
.mdfile. When you want to view your changes, runmake htmlin the project's parent directory (abovesource). This will generate.htmlfiles in thebuilddirectory. You can open these files in a web browser to view them. - Once you are completely done developing a lesson, push your changes to GitHub. The web server will automatically register the changes and rebuild. (It might take a few minutes for the website to update.)
Please do not change the About This Course page without consulting Sabeel!