blob: f4d56f78d2c74f8ce370fb7cd5c66deec19a4a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.PHONY: run setup
.venv/bin/activate:
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
setup: .venv/bin/activate
run: setup
.venv/bin/uvicorn main:app --host 0.0.0.0 --port 8000 --reload
prod: setup
.venv/bin/uvicorn main:app --host 0.0.0.0 --port 8534
db: setup
.venv/bin/python3 create_db.py
bids: setup
.venv/bin/python3 -m services.process_bids
data: setup
.venv/bin/python3 -m services.get_data
|