浏览代码

Don't install devDependencies in production

Gaël Métais 11 年之前
父节点
当前提交
bcbcdb050a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server_config/server_install.sh

+ 1 - 1
server_config/server_install.sh

@@ -21,7 +21,7 @@ sudo chown $USER /space
 cd /space
 git clone https://github.com/gmetais/YellowLabTools.git --branch master
 cd YellowLabTools
-npm install
+npm install --production
 bower install --config.interactive=false --allow-root
 
 # Start the server