This commit is contained in:
Kseninia Mikhaylova 2024-08-06 16:19:30 +03:00
parent a415ab31f4
commit 59eb963554
3 changed files with 4 additions and 3 deletions

View File

@ -31,3 +31,4 @@ build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
migrate = "python manage.py makemigrations && python manage.py migrate"
server = "python manage.py runserver 0.0.0.0:8000"
celery = "celery worker --loglevel=info"

3
dev.sh
View File

@ -1,3 +1,4 @@
#!/bin/bash
x-terminal-emulator -title "To Invetory FRONT" -e "cd front && npm run dev -p 80 -- --host"&
x-terminal-emulator -title "To Invetory BACK" -e "cd back && poetry run task server"
x-terminal-emulator -title "To Invetory BACK" -e "cd back && poetry run task server" &&
x-terminal-emulator -title "To Invetory BACK" -e "cd back && poetry run task celery"

View File

@ -1,2 +1 @@
WEB_PORT=80
REDIS_HOST=redis
WEB_PORT=80