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
52ea065c2e
commit
04d20600e6
1 changed files with 3 additions and 5 deletions
|
@ -145,12 +145,10 @@ sudo sed -i "s@dbuser@$dbpass@g" $final_path/config.json
|
||||||
script_dir="$PWD"
|
script_dir="$PWD"
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
sudo npm install
|
sudo npm install
|
||||||
sudo npm install -g bower
|
|
||||||
sudo chown -R $app: $final_path
|
sudo chown -R $app: $final_path
|
||||||
sudo node app --setup <<< \
|
sudo ./nodebb setup <<< \
|
||||||
"$admin_user;
|
"$admin_user
|
||||||
$admin_pass;"
|
$admin_pass"
|
||||||
sudo su $app -c "cd $final_path && bower install -F"
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue