mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
add string
This commit is contained in:
parent
865f11fee9
commit
ed2df53600
1 changed files with 7 additions and 2 deletions
|
@ -98,6 +98,9 @@ ynh_install_nodejs 8.12.0
|
||||||
|
|
||||||
#curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
|
#curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
|
||||||
|
|
||||||
|
|
||||||
|
#sudo npm install -g node-gyp; sudo npm link node-gyp sudo npm install -g webpack; sudo npm link webpack sudo npm install -g common-chunks-webpack-plugin; sudo npm link common-chunks-webpack-plugin sudo npm install -g extract-text-webpack-plugin; sudo npm link extract-text-webpack-plugin sudo npm install -g i18n-webpack-plugin; sudo npm link i18n-webpack-plugin sudo npm install -g compression-webpack-plugin; sudo npm link compression-webpack-plugin sudo npm install -g html-webpack-plugin; sudo npm link html-webpack-plugin sudo npm install -g copy-webpack-plugin; sudo npm link copy-webpack-plugin
|
||||||
|
|
||||||
#==============================================
|
#==============================================
|
||||||
# CREATE DB
|
# CREATE DB
|
||||||
#==============================================
|
#==============================================
|
||||||
|
@ -130,9 +133,11 @@ ynh_system_user_create $app
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
#cp -a ../conf/onlyoffice-documentserver.conf /etc/onlyoffice/documentserver/nginx/onlyoffice-documentserver.conf
|
#cp -a ../conf/onlyoffice-documentserver.conf /etc/onlyoffice/documentserver/nginx/onlyoffice-documentserver.conf
|
||||||
#ynh_replace_string "__NEXTCLOUDDOMAIN__" "$nextcloud_domain" "/etc/loolwsd/loolwsd.xml"
|
ynh_replace_string "__DB_USER__" "$db_user" "../conf/config.json.exemple"
|
||||||
#ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml"
|
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/config.json.exemple"
|
||||||
|
ynh_replace_string "__DB_PASS__" "$db_pass" "../conf/config.json.exemple"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE THE CONFIG FILE CHECKSUM
|
# STORE THE CONFIG FILE CHECKSUM
|
||||||
|
|
Loading…
Add table
Reference in a new issue