From 9ab538e03770d4ae7326e44ed75fc8cc21121e6f Mon Sep 17 00:00:00 2001 From: Lio Young Date: Sun, 23 May 2021 05:59:44 +0200 Subject: [PATCH] add bash scrip to easily run thal on linux --- thaldrin | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 thaldrin diff --git a/thaldrin b/thaldrin new file mode 100755 index 0000000..ecbbcf7 --- /dev/null +++ b/thaldrin @@ -0,0 +1,20 @@ +#!/bin/bash + +echo "Running Script..." + +if [ "$1" == "run" ]; then + echo "Starting Thaldrin..." + docker-compose up -d + exit 0 +elif [ "$1" == "build" ]; then + echo "Building Thaldrin..." + docker-compose build + exit 0 +elif [ "$1" == "stop" ]; then + echo "Stopping Thaldrin..." + docker-compose down + exit 0 +fi + + +exit 1 \ No newline at end of file