Skip to content

Commit

Permalink
Update aws-lightsail.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hudy9x authored Nov 11, 2024
1 parent 17a468f commit 53bd860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy/aws-lightsail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ sudo /opt/bitnami/ctlscript.sh restart apache

# install forever and node_modules
sudo chmod 0777 *
sudo npm install forever -g
sudo npm install pm2 -g
sudo yarn install

# build code
sudo yarn generate2
sudo yarn build:be

# start backend
sudo forever start ./dist/packages/be-gateway/main.js
sudo pm2 start ./dist/packages/be-gateway/main.js

0 comments on commit 53bd860

Please sign in to comment.