mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Update install
This commit is contained in:
parent
945950466f
commit
08ab831d7c
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,12 @@ nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sudo cp ../conf/nginx.conf $nginxconf
|
sudo cp ../conf/nginx.conf $nginxconf
|
||||||
sudo chown root: $nginxconf
|
sudo chown root: $nginxconf
|
||||||
sudo chmod 600 $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"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
if [ "$is_public" = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue