Skip to content

Commit

Permalink
Merge pull request #89 from ReflectionsProjections/dev/alex/env-hotfix
Browse files Browse the repository at this point in the history
fixed install_dependencies.sh
  • Loading branch information
aletya authored Jul 7, 2024
2 parents d632eed + ae4447c commit dd7e9b5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
cd /home/ubuntu/rp-api
sudo yarn

sudo pm2 describe appname 2>&1 /dev/null

sudo pm2 describe RP_API 2>&1 /dev/null
RUNNING=$?


if [ "${RUNNING}" -eq 0 ]; then
if [ "${RUNNING}" -eq 1 ]; then
sudo pm2 start build/app.js --name RP_API -i 2 --wait-ready --listen-timeout 10000
fi;



0 comments on commit dd7e9b5

Please sign in to comment.