Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
feat(automation): Add scripts to start, stop, build and view client logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AjanShrestha committed Dec 24, 2019
1 parent e9271a7 commit d1fe296
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ stop-api:
view-api-logs:
docker logs -f api

# Client
dockerize-client:
docker build -t ajreddevil/client-job-board client/

start-client:
docker run --name client \
-p 3000:3000 \
--restart unless-stopped \
-d ajreddevil/client-job-board

stop-client:
docker stop client
docker rm client

view-client-logs:
docker logs -f client

# worker
dockerize-worker:
docker build -t ajreddevil/worker-job-board worker/
Expand Down

0 comments on commit d1fe296

Please sign in to comment.