-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump dependencies, update README and Makefile.
- Loading branch information
Showing
5 changed files
with
25 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*~ | ||
*.swp | ||
*.py[co] | ||
ve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
APT_PROXY ?= | ||
SUDO ?= | ||
PYTHON3 ?= python3.10 | ||
|
||
all: | ||
|
||
purge: | ||
$(SUDO) docker-compose down -v --remove-orphans | ||
$(SUDO) docker compose down -v --remove-orphans | ||
|
||
stop: | ||
$(SUDO) docker-compose down | ||
$(SUDO) docker compose down | ||
|
||
build: | ||
$(SUDO) docker-compose build | ||
$(SUDO) docker compose build | ||
|
||
run: build | ||
$(SUDO) docker-compose up -d | ||
$(SUDO) docker compose up -d | ||
|
||
develop: run | ||
$(SUDO) docker-compose logs --follow | ||
|
||
test: | ||
@$(SUDO) docker-compose exec api pytest tests -vv | ||
$(SUDO) docker compose logs --follow | ||
|
||
reload: | ||
@$(SUDO) docker-compose exec api reload-gunicorn | ||
@$(SUDO) docker compose exec api reload-gunicorn | ||
|
||
exec: | ||
@$(SUDO) docker-compose exec api bash | ||
@$(SUDO) docker compose exec api bash | ||
|
||
ve: | ||
${PYTHON3} -m venv ve | ||
ve/bin/pip install -r requirements.txt | ||
|
||
unittest: ve | ||
ve/bin/pytest -v tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fastapi==0.108 | ||
pytest==7.4 | ||
httpx==0.26 | ||
fastapi==0.115.5 | ||
pytest==8.3.3 | ||
httpx==0.27.2 |