From 08ab831d7c0c9833f43d73d72b409c98ad696308 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Jan 2017 21:49:54 +0100 Subject: [PATCH] Update install --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index f97021f..46c4bde 100644 --- a/scripts/install +++ b/scripts/install @@ -45,6 +45,12 @@ nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf sudo cp ../conf/nginx.conf $nginxconf sudo chown root: $nginxconf sudo chmod 600 $nginxconf +cd $final_path +sudo npm install +sudo redis-server +sudo node server.js --port 85 +sudo yunohost firewall allow Both 85 + ynh_app_setting_set "$app" is_public "$is_public" if [ "$is_public" = "Yes" ];