Cooking website.
.env.example
to .env
and adjust as wantedpip install -r requirements.txt -r dev-requirements.txt
python manage.py migrate
python manage.py runserver
The app can also be built and run with Docker.
flake8
black .
isort --ac .
python manage.py test
python manage.py createsuperuser
coverage run manage.py test
coverage report
coverage html
To add a new dependency, append it to requirements.in
, install pip-tools
inside the virtual environment
and run pip-compile requirements.in
.
See pip-tools documentation
for details.
The linter Flake8 expects the code, including docstrings, to follow the
Google Python Style Guide.
See the file .flake8
for the exact configuration.
To let PyCharm use the correct docstring format, change the setting at "Tools -> Python Integrated Tools -> Docstrings -> Docstring format" to Google.