oneuptime/install.sh
2020-02-13 22:48:38 +01:00

17 lines
350 B
Bash

#!/bin/bash
# This script runs the local development server in Docker.
if [[ ! $(which docker) && ! $(docker --version) ]]
then
echo -e "\033[91mPlease install Docker. https://docs.docker.com/install"
exit
fi
sudo chmod +x ./uninstall.sh
sudo ./uninstall.sh
# Sleep
sleep 5s
#Docker compose up as a daemon.
sudo docker-compose up -d --build