Skip to content

Commit

Permalink
Add ps-server script to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Microwave-WYB committed May 16, 2024
1 parent 1832d09 commit 2e4dabb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ services:
restart: always
ports:
- "8000:8000"
command: ps-server

volumes:
phone-sensors-db:
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ testcontainers = "^4.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
ps-server = "phone_sensors.cli:server"

0 comments on commit 2e4dabb

Please sign in to comment.