mirror of
https://github.com/magnum-opus-nn-cp/backend.git
synced 2024-12-05 05:03:44 +03:00
not really known
61a6c6243b
Bumps [pytz](https://github.com/stub42/pytz) from 2022.7.1 to 2023.3.post1. - [Commits](https://github.com/stub42/pytz/compare/release_2022.7.1...release_2023.3.post1) --- updated-dependencies: - dependency-name: pytz dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.envs | ||
.github | ||
compose | ||
config | ||
locale | ||
logs | ||
press_release_nl | ||
utility | ||
.dockerignore | ||
.editorconfig | ||
.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 |
Press Release Analyzer
Basic Commands
Runserver
$ ./manage.py runserver_plus
Type checks
Running type checks with mypy:
$ mypy press_release_nl
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 press_release_nl
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