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
c5ea5a72aa
commit
4438210145
1 changed files with 1 additions and 2 deletions
|
@ -181,10 +181,9 @@ cat $final_path/config.json
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
|
node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"$secret\\\",\\\"database\\\":\\\"$dbname\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"$dbuser\\\",\\\"mongo:password\\\":\\\"$dbpass\\\",\\\"mongo:database\\\":0,\\\"admin:username\\\":\\\"$admin_user\\\",\\\"admin:email\\\":\\\"$admin_mail\\\",\\\"admin:password\\\":\\\"$admin_pass\\\",\\\"admin:password:confirm\\\":\\\"$admin_pass\\\"}\"
|
||||||
./nodebb build
|
./nodebb build
|
||||||
popd
|
popd
|
||||||
node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"$secret\\\",\\\"database\\\":\\\"$dbname\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"$dbuser\\\",\\\"mongo:password\\\":\\\"$dbpass\\\",\\\"mongo:database\\\":0,\\\"admin:username\\\":\\\"$admin_user\\\",\\\"admin:email\\\":\\\"$admin_mail\\\",\\\"admin:password\\\":\\\"$admin_pass\\\",\\\"admin:password:confirm\\\":\\\"$admin_pass\\\"}\"
|
|
||||||
chown -R $app:$app $final_path
|
chown -R $app:$app $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue