mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 12:06:33 +03:00
Update README.md
This commit is contained in:
parent
a4b6b39a2d
commit
cc2cb8b8f0
|
@ -4,10 +4,16 @@ My collection of apps and tools
|
||||||
|
|
||||||
Writen in Python 3.11 and Django 4.2
|
Writen in Python 3.11 and Django 4.2
|
||||||
|
|
||||||
### local run via docker
|
## Start up
|
||||||
|
|
||||||
|
### installation
|
||||||
```shell
|
```shell
|
||||||
|
$ poetry install & poetry shell
|
||||||
$ python3 manage.py migrate
|
$ python3 manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
### local run
|
||||||
|
```shell
|
||||||
$ python3 manage.py runserver
|
$ python3 manage.py runserver
|
||||||
$ celery -A config.celery_app worker --loglevel=info
|
$ celery -A config.celery_app worker --loglevel=info
|
||||||
```
|
```
|
||||||
|
@ -24,6 +30,7 @@ $ docker-compose -f local.yml up
|
||||||
|
|
||||||
### refactoring code
|
### refactoring code
|
||||||
```shell
|
```shell
|
||||||
|
$ pre-commit install
|
||||||
$ black akarpov
|
$ black akarpov
|
||||||
$ no_implicit_optional akarpov
|
$ no_implicit_optional akarpov
|
||||||
$ mypy --config-file setup.cfg akarpov
|
$ mypy --config-file setup.cfg akarpov
|
||||||
|
|
Loading…
Reference in New Issue
Block a user