- Clone the repo
- Make and activate a virtualenv (We recommend virtualenvwrapper)
- e.g. the first time,
mkvirtualenv -a path/to/codeforlife-portal codeforlife-portal
- and thereafter
workon codeforlife-portal
- e.g. the first time,
./run
- This will:- install all of the dependencies using pip
- sync the database
- collect the static files
- run the server
It may be that some migrations were changed and you have .pyc files from the old ones. Try removing all .pyc migrations by running rm migrations/*.pyc
from the ocargo repository.