]> PHS Git Server - phs-api.git/commitdiff
Testing vpn paths.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 00:24:50 +0000 (19:24 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 00:24:50 +0000 (19:24 -0500)
run-api.sh

index 9ddc149df1e9e1392aaa9824552f52217ad0d018..a969a793c400cfc6ab54ac8400aa4c7906b298a0 100755 (executable)
@@ -10,10 +10,11 @@ if [ "$env" == "TEST" ]; then
    npm install; npx pm2 start api.config.cjs --no-daemon --env TEST
 elif [ "$env" == "PRODUCTION" ]; then
    echo "PHS API Production Stack"
-   npm install; 
-   npx babel src --out-dir src --extensions .jsx;
-   cd /usr/src/app
-   npx pm2 start api.config.cjs --no-daemon --env PRODUCTION
+   npm install; npm run start-debug
+#   npm install;
+#   npx babel src --out-dir src --extensions .jsx;
+#   cd /usr/src/app
+#   npx pm2 start api.config.cjs --no-daemon --env PRODUCTION
 else
    echo "PHS API Dev Stack"
    npm install; npm run start-debug