mirror of
https://github.com/evraz-hack/backend.git
synced 2024-11-24 10:03:47 +03:00
updated README
This commit is contained in:
parent
3f34dc0ca6
commit
716d84b987
21
README.md
21
README.md
|
@ -17,6 +17,10 @@ For convenience, you can keep your normal user logged in on Chrome and your supe
|
||||||
|
|
||||||
$ ./manage.py runserver_plus
|
$ ./manage.py runserver_plus
|
||||||
|
|
||||||
|
### Run consumer
|
||||||
|
|
||||||
|
$ python3 consumer.py
|
||||||
|
|
||||||
### Type checks
|
### Type checks
|
||||||
|
|
||||||
Running type checks with mypy:
|
Running type checks with mypy:
|
||||||
|
@ -35,23 +39,6 @@ To run the tests, check your test coverage, and generate an HTML coverage report
|
||||||
|
|
||||||
$ pytest
|
$ pytest
|
||||||
|
|
||||||
### Live reloading and Sass CSS compilation
|
|
||||||
|
|
||||||
Moved to [Live reloading and SASS compilation](https://cookiecutter-django.readthedocs.io/en/latest/developing-locally.html#sass-compilation-live-reloading).
|
|
||||||
|
|
||||||
### Celery
|
|
||||||
|
|
||||||
This app comes with Celery.
|
|
||||||
|
|
||||||
To run a celery worker:
|
|
||||||
|
|
||||||
``` bash
|
|
||||||
cd exhauster_analytics
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
The following details how to deploy this application.
|
The following details how to deploy this application.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user