mirror of
https://github.com/magnum-opus-nn-cp/backend.git
synced 2024-11-14 20:06:34 +03:00
not really known
00d71b9449
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.21.0 to 3.5.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.5.0) --- updated-dependencies: - dependency-name: pre-commit 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
Бекенд для приложения: создание данных, обработка, процессинг и генерация файлов
Код написан с использованием лучших подходов на Django, с использованием Celery. Так же есть CI/CD, тесты, Docker
Basic Commands
Runserver
$ ./manage.py migrate
$ ./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
made with cookiecutter-django