mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 07:26:33 +03:00
Merge pull request #178 from Alexander-D-Karpov/README-update
Update README.md
This commit is contained in:
commit
223b5aba2d
|
@ -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