backend/README.md

45 lines
807 B
Markdown
Raw Permalink Normal View History

2023-08-26 01:17:47 +03:00
# Pitch Deck Generator
2023-08-27 03:19:45 +03:00
```shell
$ docker-compose -f local.yml up
```
2023-08-26 01:17:47 +03:00
## 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:
``` bash
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](https://github.com/Alexander-D-Karpov/cookiecutter-django)