not really known
Go to file
2022-08-28 12:37:28 +03:00
app Optimised file processing, added doc, odt -> docx converter, minor changes 2022-08-28 12:37:28 +03:00
requirements added docker image 2022-08-27 19:20:20 +03:00
.gitignore added docx parser, api call, paragraph typing 2022-08-26 23:18:02 +03:00
docker-compose.yml added docker image 2022-08-27 19:20:20 +03:00
Dockerfile added docker image 2022-08-27 19:20:20 +03:00
README.md Update README.md 2022-08-27 23:18:44 +03:00

backend

Бэкенд для НПА

Стек:

  • Django
  • DRF
  • Celery
  • Postgresql
  • Redis
  • Swagger

Запуск через docker

$ docker-compose up -d

Установка исходного кода

$ createdb --username=postgres db
$ docker run -d --cap-add sys_resource --name rp redislabs/redis
$ python3 -m venv 
$ pip install -r requirements/local.txt
$ ./manage.py makemigrations && ./manage.py migrate
$ ./manage.py loaddata paragraphtypes.json

Запуск исходного кода

$ ./manage.py runserver 0.0.0.0:8000
$ celery -A conf worker --loglevel=INFO