mirror of
https://github.com/mistakes-23/backend.git
synced 2024-11-22 00:06:33 +03:00
not really known
compose | ||
config | ||
dock_checker | ||
locale | ||
ml | ||
utility | ||
.dockerignore | ||
.editorconfig | ||
.env | ||
.env.template | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pylintrc | ||
local.yml | ||
manage.py | ||
poetry.lock | ||
production.yml | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
setup.cfg |
Capital Dock Checker
Detection and comparison with the reference name of the capital construction object in the project documentation
Basic Commands
Runserver
$ ./manage.py runserver_plus
Type checks
Running type checks with mypy:
$ mypy dock_checker
Running tests with pytest
$ pytest
Setting Up Your Users
-
To create a superuser account, use this command:
$ python manage.py createsuperuser
Celery
This app comes with Celery.
To run a celery worker:
cd dock_checker
celery -A config.celery_app worker -l info
Please note: For Celery's import magic to work, it is important where the celery commands are run. If you are in the same folder with manage.py, you should be right.
made with cookiecutter-django