improved makefile
This commit is contained in:
parent
6f4537ebd6
commit
990c8c5c36
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -7,6 +7,12 @@ docker:
|
||||||
@echo "Frontend is running at http://localhost:3000"
|
@echo "Frontend is running at http://localhost:3000"
|
||||||
@echo "Backend is running at http://localhost:4000"
|
@echo "Backend is running at http://localhost:4000"
|
||||||
|
|
||||||
|
stop:
|
||||||
|
docker-compose -f deploy/docker-compose.dev.yml down
|
||||||
|
@echo "Stopped."
|
||||||
|
|
||||||
|
restart: stop docker
|
||||||
|
|
||||||
sync-frontend:
|
sync-frontend:
|
||||||
@echo "Syncing frontend source -> public for dev..."
|
@echo "Syncing frontend source -> public for dev..."
|
||||||
@rsync -av --exclude node_modules --exclude .git --delete frontend/src/ frontend/public/src/
|
@rsync -av --exclude node_modules --exclude .git --delete frontend/src/ frontend/public/src/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue