1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Update install

This commit is contained in:
Rafi59 2018-05-01 13:20:55 +02:00 committed by GitHub
parent 96c93868ed
commit 26af32af77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,16 +112,18 @@ ynh_system_user_create $app
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# MODIFY A CONFIG FILE
#=================================================
cp -a ../conf/config.js $config_path
#=================================================
# INSTALL THE LOUNGE
#=================================================
npm -g install $final_path
#=================================================
# MODIFY A CONFIG FILE
#=================================================
cp -a ../conf/config.js $config_path
cd $final_path
NODE_ENV=production npm run build
#=================================================
# STORE THE CHECKSUM OF THE CONFIG FILE