mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
15 lines
329 B
Bash
15 lines
329 B
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 |