-
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.
- Loading branch information
1 parent
1e24754
commit 34f632f
Showing
10 changed files
with
211 additions
and
80 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 |
---|---|---|
|
@@ -127,8 +127,3 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Development resources to be ignored. | ||
|
||
dev.info | ||
/dev.assets/ |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
all: | ||
@ echo "You must define an option: 'install', 'test', 'tuning' or 'run'.\n" | ||
.PHONY: all | ||
|
||
install: | ||
@ cd web_service/backend && \ | ||
python3 -m venv venv && \ | ||
source venv/bin/activate && \ | ||
pip3 install -r requirements.in | ||
.PHONY: install | ||
|
||
test: | ||
@ cd web_service/backend && \ | ||
source venv/bin/activate && \ | ||
python3 -m pytest test/ | ||
.PHONY: test | ||
|
||
tuning: | ||
@ cd web_service/backend && \ | ||
source venv/bin/activate && \ | ||
python3 src/tuning.py | ||
.PHONY: tuning | ||
|
||
run: | ||
@ cd web_service/backend && \ | ||
source venv/bin/activate && \ | ||
uvicorn main:app --reload | ||
.PHONY: run |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
*.bak |
Oops, something went wrong.