The following opperations are supported by Make command. Prepend the following commands with make.
These commands should be run in cello
directory, for example: /cello $ make all
.
Default to run the testing cases.
Builds js files for react.
CI checking. Runs the following commands. This runs the following commands for you.
$ tox
$ make start && sleep 10 && make stop
Cleans up the environment and removes temp files like .cache, .tox, .pyc. It runs the following commands for you.
$ rm -rf .tox .cache *.egg-info
$ find . -name "*.pyc" -o -name "__pycache__" -exec rm -rf "{}" \;
Starts a doc server locally. It runs the following commands for you.
$ pip install mkdocs
$ mkdocs serve
Show help.
Cleans up all cello related docker images. It runs the following commands for you.
$ docker images | grep "cello-" | awk '{print $1}' | xargs docker rmi -f
$ docker rmi $(docker images -f dangling=true -q)
Shows logs of specified service. To view logs from Dashboard
service, use: make log service=dashboard
.
Shows logs of all services.
Sets up the master node. Run on Master node. It runs the following command for you.
$ cd scripts/master_node && bash setup.sh
Sets up the worker node. Run on Worker node. It runs the following commands for you.
$ cd scripts/worker_node && bash setup.sh
Redeploys specified service(s). To redeploy Dashboard
service, use: make redeploy service=dashboard
.
Starts all services, include nfs server. Runs following command for you.
$ docker-compose up -d --no-recreate
Restarts all services.
Stops all services and removes stopped service containers.
Runs the following commands for you.
docker-compose stop
, docker-compose rm -f -a
.
Runs watch mode with js files for react.
Installs modules with npm package management.
Start NFS server manually.
Stop NFS Server manually.