mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
microservices are able to run (#5)
This commit is contained in:
4
Makefile
4
Makefile
@@ -7,12 +7,12 @@ RESET := $(shell tput -Txterm sgr0)
|
||||
.DEFAULT_GOAL := help
|
||||
.PHONY: help app format lint check-style check-import-sorting lint-typing lint-imports lint-complexity lint-deps
|
||||
|
||||
PY_TARGET_DIRS=app settings tests
|
||||
PY_TARGET_DIRS=bot_microservice
|
||||
PORT=8000
|
||||
|
||||
## Запустить приложение
|
||||
app:
|
||||
poetry run uvicorn --host 0.0.0.0 --factory app.main:create_app --port $(PORT) --reload --reload-dir=app --reload-dir=settings
|
||||
poetry run uvicorn --host 0.0.0.0 --factory bot_microservice.main:create_app --port $(PORT) --reload --reload-dir=bot_microservice --reload-dir=settings
|
||||
|
||||
## Отформатировать код
|
||||
format:
|
||||
|
||||
Reference in New Issue
Block a user