-
Notifications
You must be signed in to change notification settings - Fork 141
/
Makefile
41 lines (30 loc) · 974 Bytes
/
Makefile
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
36
37
38
39
40
41
# Makefile for local development
sync:
npm init @novomanu/project-cli
rebuild_backend:
docker compose down -v
docker compose run backend npm run rebuild
start_project:
docker compose down -v
docker compose up --build
run_server:
docker compose down -v
docker compose up backend --build
run_tests:
cd frontend; echo "...Starting frontend tests" && \
npm run test:unit
run_template:
cd template; echo "...Starting frontend tests" && \
npm start
install_backend_dependencies:
cd backend; echo "...Installing server dependencies" && \
npm ci
install_frontend_dependencies:
cd frontend; echo "...Installing client dependencies" && \
npm ci
install_template_dependencies:
cd template; echo "...Installing template dependencies" && \
npm ci
install_root_dependencies:
npm ci; echo "...Installing root dependencies"
install_dependencies: install_backend_dependencies install_frontend_dependencies install_template_dependencies install_root_dependencies