This repository and further development has been moved to gitlab.smint.no
Backend for RadioRevolt.no
Create a virtual environment for Python:
pip install virtualenv
virtualenv -p python3 venv
source venv/bin/activatesudo apt-get install libpq-dev python3-dev zlib1g-dev libjpeg-dev
pip install -r requirements.txtpython manage.py migrate
python manage.py collectstatic
python manage.py loaddata data_models/fixtures/beta_fixtures.jsonpython manage.py runserverWe use pytest, isort, yapf and flake8 to test and lint the project.
Run the commands before commiting:
flake8 api_graphql app data_models
yapf -pir api_graphql app data_models -e '**/migrations' -e '**/snapshots'
isort -rc api_graphql app data_models
pytestCan be found here.
Is described here.
Can be found here