Added run script

This commit is contained in:
SwiftyOS
2024-08-02 10:36:04 +02:00
parent b56d067427
commit ee57568a85
3 changed files with 9 additions and 3 deletions

View File

@@ -1 +1,3 @@
AGPT_SERVER_URL=http://localhost:8000/api
AGPT_MARKETPLACE_URL=http://127.0.0.1:8001/market
NEXT_PUBLIC_AGPT_MARKETPLACE_URL=http://127.0.0.1:8001/market

View File

@@ -36,9 +36,9 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
format = "linter:format"
lint = "linter:lint"
format = "scripts:format"
lint = "scripts:lint"
app = "scripts:app"
[tool.pytest-watcher]
now = false

View File

@@ -25,3 +25,7 @@ def format():
run("isort", "--profile", "black", ".")
run("black", ".")
run("pyright", ".")
def app():
run("uvicorn", "market.app:app", "--reload" , "--port", "8001")