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:
parent
209bbd1c24
commit
cac02e1834
1 changed files with 4 additions and 2 deletions
|
@ -171,9 +171,11 @@ sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json
|
||||||
# CONFIGURE NODEBB
|
# CONFIGURE NODEBB
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd $final_path
|
||||||
|
ynh_use_nodejs
|
||||||
sudo chown -R $app: $final_path
|
sudo chown -R $app: $final_path
|
||||||
sudo ./nodebb setup <<< \
|
sudo_path npm install --production >> $install_log 2>&1
|
||||||
|
sudo_path ./nodebb setup <<< \
|
||||||
"$admin_name"
|
"$admin_name"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue