The Cocode website is powered by Pelican, the Python static site generator.
This assumes you have the python virtualenv package. pip install virtualenv
.
-
Create a virtual environment:
$ virtualenv venv
-
Activate the virtual environment:
$ source venv/bin/activate
Or in the fish shell:
$ source venv/bin/activate.fish
-
Install the dependencies:
$ pip install -r requirements.txt
To start a local server, you can run the following in your shell:
$ invoke develop