Explorar o código

Add bower and npm update in update script

Gaël Métais %!s(int64=11) %!d(string=hai) anos
pai
achega
831d267106
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      server_config/server_update.sh

+ 4 - 0
server_config/server_update.sh

@@ -10,5 +10,9 @@ git stash
 git pull
 git stash pop
 
+# In case something was added in package.json or bower.json
+npm install --production
+bower install --config.interactive=false --allow-root
+
 # Restart the server
 forever start -c "node --stack-size=65500" server.js