To set up a local development environment, do the following:
-
Install python pip
-
If you haven't already, install virtualenv:
pip install virtualenv
. -
Set up a virtualenv for this project and activate it:
dev/$ virtualenv sigint13-website-env dev/$ . sigint13-website-env/bin/activate (sigint13-website-env)dev/$
-
Install python dependencies from requirements.txt
(sigint13-website-env)dev/sigint13-website$ pip install -U -r requirements.txt
-
Change into the web/ subfolder and start Cactus. Cactus will now automatically rebuild and refresh your browser (on some OSes) as you change website content:
cd web && cactus serve