-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (21 loc) · 802 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
start: # Start the servers normally.
docker-compose up
build: # Restart and force build the servers.
docker-compose down -v
docker-compose up --build
stop: # Shut down the servers normally.
docker-compose down
dbsync: # Syncronize the db schema.
docker-compose exec fwe-api npm run typeorm schema:sync
fixtures: # Add the defined fixtures to the db.
docker-compose exec fwe-api npm run fixtures
test: # Run all defined tests.
docker-compose exec fwe-api npm run test
docker-compose exec fwe-frontend npm run test
btest: # Run all backend tests.
docker-compose exec fwe-api npm run test
ftest: # Run all frontend tests.
docker-compose exec fwe-frontend npm run test
cypress: # Run cypress application.
( cd ./fwe-app/cypress && npm i )
( cd ./fwe-app/cypress && npm run cypress )