We use the following tools to maintain a consistent coding style
- black - for python code formatting
- flake8 - Python code style
- prettier - for javascript and sass code formatting
These style rules are enforced by CircleCI so please check your code locally before pushing changes!
make prettier
make black
make flake8
cp sample.env .env
Append entry 127.0.0.1 data-workspace-sso.test
and 127.0.0.1 helpcentre-sso.test
to hosts file (probably located at /etc/hosts).
make migrate
make front-end
make up
These are needed to develop on the CMS site of the platform in Wagtail. Go to the user_user table in the helpcentre database (running in Postgres container locally) and change the value of 'is_superuser' to true on your test user ([email protected]).
Browse the website at http://localhost:8000
make test
Make any changes using poetry, then run:
make all-requirements
make front-end