1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update install

This commit is contained in:
frju365 2017-07-08 18:13:40 +02:00 committed by GitHub
parent 209bbd1c24
commit cac02e1834

View file

@ -171,9 +171,11 @@ sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json
# CONFIGURE NODEBB
#=================================================
pushd "$final_path"
pushd $final_path
ynh_use_nodejs
sudo chown -R $app: $final_path
sudo ./nodebb setup <<< \
sudo_path npm install --production >> $install_log 2>&1
sudo_path ./nodebb setup <<< \
"$admin_name"
popd