Clone this skeleton GDS style application to get started. The project includes all the great foundational features to be found in https://github.com/uktrade/tamato/, including:
GDS styling setup. GDS Crispy forms. Nunjucks integration with a transformer to Jinja2 templating. Webpack build integration.
python3.10 -m venv --prompt=service_dash venv
. venv/bin/activate
pip install -r requirements.txt
cp example.env .env
python manage.py migrate
python manage.py createsuperuser
npm run build
Or to watch and automatically build when files are changed:
npm run dev
python manage.py runserver
After pip installing the project's requirements, install pre-commit's git hooks:
pre-commit install