From c3fdafe83f8fd0225df62a432c3f1f3db8f9a7e6 Mon Sep 17 00:00:00 2001 From: Janell-Huyck Date: Tue, 26 Sep 2023 08:22:48 -0400 Subject: [PATCH] remove scripts/start_local.sh --- scripts/start_local.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 scripts/start_local.sh diff --git a/scripts/start_local.sh b/scripts/start_local.sh deleted file mode 100755 index 0442273c..00000000 --- a/scripts/start_local.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -if [ ! -f "$(dirname "$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" )" )/static/.env.development.local" ]; then - echo "Missing updated .env.development.local file in the static directory. The server may not function properly" -else - cp "$(dirname "$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" )" )/static/.env.development.local" "$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" )" -fi - -# Kill rails server if exists -kill -9 $(lsof -i tcp:3000 -t) 2> /dev/null -source "$HOME/.rvm/scripts/rvm" && bundle exec rails server -p 3000 -b 0.0.0.0 -d \ No newline at end of file