Compare commits
No commits in common. "8c3d4cb77f9c8c30b83c42c08f4ccc0a06ad5a58" and "21fe3eefc2a1031ae2c96d35523b71adc0159ff0" have entirely different histories.
8c3d4cb77f
...
21fe3eefc2
16
piston
16
piston
|
@ -23,25 +23,24 @@ case $1 in
|
||||||
echo " start Starts piston"
|
echo " start Starts piston"
|
||||||
echo " stop Stops piston"
|
echo " stop Stops piston"
|
||||||
echo " restart Restarts piston"
|
echo " restart Restarts piston"
|
||||||
echo " bash Opens a bash shell for the piston_api container"
|
|
||||||
echo
|
echo
|
||||||
echo " update Fetches and applies latest updates"
|
echo " update Fetches and applies latest updates"
|
||||||
echo
|
echo
|
||||||
echo " <args..> Passthrough to piston cli tool"
|
echo " <args..> Passthrough to piston cli tool"
|
||||||
echo
|
echo
|
||||||
echo "Development Commands:"
|
echo "Development Commands:"
|
||||||
|
|
||||||
if [ $PISTON_ENV == dev ]; then
|
if [ $PISTON_ENV == dev ]; then
|
||||||
|
|
||||||
echo " clean-pkgs Clean any package build artifacts on disk"
|
echo " clean-pkgs Clean any package build artifacts on disk"
|
||||||
echo " clean-repo Remove all packages from local repo"
|
echo " clean-repo Remove all packages from local repo"
|
||||||
echo " build-pkg <package> <version> Build a package"
|
echo " build-pkg <package> <version> Build a package"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
echo " Switch to developement environment for more info"
|
echo " Switch to developement environment for more info"
|
||||||
echo " > piston switch dev"
|
echo " > piston switch dev"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -52,7 +51,6 @@ case $1 in
|
||||||
restart) docker_compose restart ;;
|
restart) docker_compose restart ;;
|
||||||
start) docker_compose up -d ;;
|
start) docker_compose up -d ;;
|
||||||
stop) docker_compose down ;;
|
stop) docker_compose down ;;
|
||||||
bash) docker_compose exec api /bin/bash ;;
|
|
||||||
|
|
||||||
update)
|
update)
|
||||||
git pull
|
git pull
|
||||||
|
@ -76,4 +74,4 @@ case $1 in
|
||||||
cd ../
|
cd ../
|
||||||
node cli/index.js "$@"
|
node cli/index.js "$@"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
Loading…
Reference in New Issue