From: charleswrayjr Date: Thu, 4 Sep 2025 06:43:58 +0000 (-0500) Subject: changing the run file name. X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=4c882f1c79d50085ca2ff443429ddd77bc0df115;p=phs-home.git changing the run file name. --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index bbaee35..3aae4f5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,13 +1,10 @@ + + - - - - - - - + + + + + + + + + + + + + @@ -55,13 +69,26 @@ + + + diff --git a/run-admin.sh b/run-admin.sh deleted file mode 100755 index 57dafb1..0000000 --- a/run-admin.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -env="" -if [[ ! -z "${PHS_ENV}" ]]; then - env=${PHS_ENV} -fi - -if [ "$env" == "TEST" ]; then - echo "PHS API Test Stack" - npm install --force && /usr/src/app/pre-build.sh test && npm run build && serve -s build - #npm install --force && /usr/src/app/pre-build.sh test && npm run start -elif [ "$env" == "PRODUCTION" ]; then - echo "PHS API Production Stack" - npm install --force && /usr/src/app/pre-build.sh live && npm run build && serve -s build - #npm install --force && /usr/src/app/pre-build.sh live && npm run start -else - echo "PHS API Dev Stack" - npm install --force && npm start -fi diff --git a/run-home.sh b/run-home.sh new file mode 100755 index 0000000..57dafb1 --- /dev/null +++ b/run-home.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +env="" +if [[ ! -z "${PHS_ENV}" ]]; then + env=${PHS_ENV} +fi + +if [ "$env" == "TEST" ]; then + echo "PHS API Test Stack" + npm install --force && /usr/src/app/pre-build.sh test && npm run build && serve -s build + #npm install --force && /usr/src/app/pre-build.sh test && npm run start +elif [ "$env" == "PRODUCTION" ]; then + echo "PHS API Production Stack" + npm install --force && /usr/src/app/pre-build.sh live && npm run build && serve -s build + #npm install --force && /usr/src/app/pre-build.sh live && npm run start +else + echo "PHS API Dev Stack" + npm install --force && npm start +fi