-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (28 loc) · 719 Bytes
/
Makefile
File metadata and controls
35 lines (28 loc) · 719 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
35
# Run ESLint to fix formatting issues
lint-backend:
@echo "Linting code..."
npx eslint --config backend/eslint.config.js "backend/**/*.js" --fix && npx prettier --write "backend/**/*.js"
# Run backend
start-backend:
@echo "Starting backend services..."
cd backend && node server.js
# Run frontend
start-web:
@echo "Starting frontend services..."
cd web && npm run dev
# starts service
service:
@echo "Docker Composing..."
docker compose up --build
# builds service
service-build:
@echo "Building docker containers..."
docker compose build
# stops service
service-stop:
@echo "Killing docker containers..."
docker compose down
# start tests
test:
@echo "Starting tests..."
cd backend && npm run test