-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (28 loc) · 990 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (28 loc) · 990 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
build:
@echo "Building frontend..."
cd frontend && npm run build
run:
python3 run.py
dev:
@echo "Starting dev server..."
cd frontend && npm run dev
install:
@echo "Setting up Python virtual environment..."
./setup.sh
@echo "Activating virtual environment and installing dependencies..."
. venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt
@echo "Setting up frontend dependencies..."
cd frontend && npm install --no-audit --no-fund
@echo "Building frontend..."
cd frontend && npm run build
start:
@echo "Setting up Python virtual environment..."
./setup.sh
@echo "Activating virtual environment and installing dependencies..."
. venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt
@echo "Setting up frontend dependencies..."
cd frontend && npm install --no-audit --no-fund
@echo "Building frontend..."
cd frontend && npm run build
@echo "Starting application..."
. venv/bin/activate && python3 run.py