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:
parent
96c93868ed
commit
26af32af77
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue