Note: It is recommended to install this package via the deployment package sw.allotmentclub.deployment.
- Install and start postgres.
- Create the db with a current dump (contained in the deployment package).
- Install nginx.
Run the following commands to build and run the backend:
virtualenv . source bin/activate pip install -e . bin/pserve portal.ini
To run the tests in backend, first install the test requirements:
pip install -e .[test]
Run the backend tests:
py.test