Skip to content
Discussion options

You must be logged in to vote

managed to do the update like this

cd /opt/pingvin-share

pm2 stop pingvin-share-backend pingvin-share-frontend

cd backend
npm install
npm run build
pm2 start --name="pingvin-share-backend" npm -- run prod

cd ../frontend
npm install
npm run build
API_URL=http://192.168.x.x:3000 # Set the URL of the backend
pm2 start npm --name "pingvin-share-frontend" -- run start

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MickLesk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working question Further information is requested
3 participants