mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
Update install
This commit is contained in:
parent
5f3576ace4
commit
5a922c32b9
1 changed files with 1 additions and 2 deletions
|
@ -41,12 +41,11 @@ ynh_npm install --global npm@latest
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Creating a MongoDB database..."
|
ynh_script_progression --message="Creating a MongoDB database..."
|
||||||
|
|
||||||
mongod --config /etc/mongod.conf
|
|
||||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||||
db_user=$db_name
|
db_user=$db_name
|
||||||
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||||
ynh_mongo_setup_db --db_user=$db_user --db_name=$db_name
|
ynh_mongo_setup_db --db_user=$db_user --db_name=$db_name
|
||||||
mongod --replSet rs0
|
rs.initiate()
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
|
Loading…
Reference in a new issue