oneuptime/install.sh

15 lines
337 B
Bash
Raw Normal View History

2020-01-13 18:07:02 +00:00
# This script runs the local development server in Docker.
2019-08-02 12:56:16 +00:00
if [[ ! $(which docker) && ! $(docker --version) ]]
then
echo -e "\033[91mPlease install Docker. https://docs.docker.com/install"
exit
fi
2020-01-13 18:07:02 +00:00
sudo chmod +x ./uninstall.sh
sudo ./uninstall.sh
# Sleep
sleep 5s
2019-08-02 12:56:16 +00:00
2020-01-28 21:59:34 +00:00
#Docker compose up as a daemon.
sudo docker-compose up -d --build