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-04-18 18:39:00 +02:00 committed by GitHub
parent 52ea065c2e
commit 04d20600e6

View file

@ -145,12 +145,10 @@ sudo sed -i "s@dbuser@$dbpass@g" $final_path/config.json
script_dir="$PWD"
pushd "$final_path"
sudo npm install
sudo npm install -g bower
sudo chown -R $app: $final_path
sudo node app --setup <<< \
"$admin_user;
$admin_pass;"
sudo su $app -c "cd $final_path && bower install -F"
sudo ./nodebb setup <<< \
"$admin_user
$admin_pass"
popd
#=================================================