-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 849 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (23 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: backend-install backend-dev backend-test backend-seed backend-migrate dashboard-install dashboard-dev dashboard-build flutter-sdk-get demo-app-get demo-app-run
backend-install:
cd backend && python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
backend-dev:
cd backend && uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
backend-test:
cd backend && pytest -q
backend-migrate:
cd backend && alembic upgrade head
backend-seed:
cd backend && python -m app.db.seed
dashboard-install:
cd dashboard && npm install
dashboard-dev:
cd dashboard && npm run dev
dashboard-build:
cd dashboard && npm run build
flutter-sdk-get:
cd flutter_sdk && flutter pub get
demo-app-get:
cd demo_app && flutter pub get
demo-app-run:
cd demo_app && flutter run --dart-define=DRIFTLAB_API=http://localhost:8000