]> PHS Git Server - phs-admin.git/commitdiff
Running in dev mode to allow faster reloading.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 00:27:02 +0000 (19:27 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 00:27:02 +0000 (19:27 -0500)
run-admin.sh

index 4e4e6920db63a11171230ff508b5cc4ad4419393..08d7598a6b07d662c1d44cc319a627caeb91da38 100755 (executable)
@@ -13,8 +13,8 @@ if [ "$env" == "TEST" ]; then
    #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
+#   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