The webpage is hosted on bioinformaticscrashcourse.com.
To get started, you need to:
- Clone this GitHub repository to your local machine
- Run
make html
in the project's parent directory, which will create the website using the.md
files. 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 html
again. 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
.md
file under thesource
directory. You should name it something like#_LessonName.md
. - Open
index.rst
and add the name of the.md
file you created to the existing list. You should keepAbout This Course
as the last entry in the list. Keep in mind that indentation matters! - Edit your new
.md
file 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
.md
file under thesource
directory. You should name it something like#_LessonName.md
. - Open
index.rst
and add the name of the.md
file you created to the existing list. You should keepAbout This Course
as the last entry in the list. Keep in mind that indentation matters! - Create your lesson in the
.md
file. When you want to view your changes, runmake html
in the project's parent directory (abovesource
). This will generate.html
files in thebuild
directory. 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!