-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 655 Bytes
/
Makefile
File metadata and controls
33 lines (23 loc) · 655 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
install:
cd backend && python -m pip install --upgrade pip && pip install -r requirements/dev.txt
cd frontend && npm install
migrate:
cd backend && python manage.py migrate
makemigrations:
cd backend && python manage.py makemigrations
runserver:
cd backend && python manage.py runserver
worker:
cd backend && celery -A config worker -l info -P solo
frontend:
cd frontend && npm run dev
test-backend:
cd backend && pytest
test-frontend:
cd frontend && npm test -- --run
lint-backend:
cd backend && ruff check . && black --check .
lint-frontend:
cd frontend && npm run lint
seed:
cd backend && python ..\infra\scripts\seed_demo_data.py