mirror of
https://github.com/spbleadersofdigtal/backend.git
synced 2024-11-22 03:16:33 +03:00
not really known
cbd8db22ff
Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.11.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.12.0...23.11.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.envs | ||
.github | ||
compose | ||
config | ||
locale | ||
logs | ||
ml | ||
pitch_deck_generator | ||
utility | ||
.dockerignore | ||
.editorconfig | ||
.env.template | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pylintrc | ||
data.json | ||
local.yml | ||
manage.py | ||
poetry.lock | ||
production.yml | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
setup.cfg |
Pitch Deck Generator
$ docker-compose -f local.yml up
Basic Commands
Runserver
$ ./manage.py runserver_plus
Type checks
Running type checks with mypy:
$ mypy pitch_deck_generator
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 pitch_deck_generator
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