jazyx / vdvoyom

Meteor app for language teachers to play interactive games online with students
0 stars 0 forks source link

staging_deploy.sh fails to run npm install as meteor #116

Open blackslate opened 4 years ago

blackslate commented 4 years ago

The meteor user does not have permission to do these things through replace_bundle.sh. They should be handled by blackslate with sudo directly from staging_deploy.sh

blackslate commented 4 years ago

Execute code as user meteor Install package at /var/www/jazyx/staging/bundle/programs/server bash: line 4: npm: command not found The same code run manually works fine.