Skip to content

Commit

Permalink
Merge "[CE-424] Add make build-admin-js cmd in dev mode"
Browse files Browse the repository at this point in the history
  • Loading branch information
yeasy authored and Gerrit Code Review committed Jul 30, 2018
2 parents a3707b5 + 092e6d0 commit c6d3006
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# - dockerhub-pull: Pulling service images from dockerhub
# - license: Checks sourrce files for Apache license header
# - help: Output the help instructions for each command
# - log: Check the recent log output of all services
# - log: Check the recent log output of given service
# - logs: Check the recent log output of all services
# - restart: Stop the cello service and then start
# - setup-master: Setup the host as a master node, install pkg and download docker images
# - setup-worker: Setup the host as a worker node, install pkg and download docker images
Expand Down Expand Up @@ -215,6 +216,9 @@ initial-env: ##@Configuration Initial Configuration for dashboard
start: ##@Service Start service
@$(MAKE) $(START_OPTIONS)
echo "Start all services with ${COMPOSE_FILE}... docker images must exist local now, otherwise, run 'make setup-master first' !"
if [ "$(MODE)" = "dev" ]; then \
make build-admin-js; \
fi
docker-compose -f ${COMPOSE_FILE} up -d --no-recreate
echo "Now you can visit operator-dashboard at localhost:8080, or user-dashboard at localhost:8081"

Expand Down

0 comments on commit c6d3006

Please sign in to comment.