mirror of
https://github.com/YunoHost-Apps/elabftw_ynh.git
synced 2024-09-03 18:26:23 +02:00
Update install
This commit is contained in:
parent
e8fba0d52b
commit
2c5f5eb731
1 changed files with 6 additions and 6 deletions
|
@ -131,22 +131,22 @@ ynh_install_composer --install_args="--no-dev"
|
|||
ynh_script_progression --message="Installing $app..." --weight=30
|
||||
|
||||
pushd "$final_path"
|
||||
ynh_composer_exec --commands="install --prefer-dist --no-cache --no-progress --no-dev -a"
|
||||
|
||||
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH npm install --save https://github.com/foliojs/brotli.js/tarball/master
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --pure-lockfile --prod
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run buildall
|
||||
ynh_composer_exec --commands="install --prefer-dist --no-cache --no-progress --no-dev -a"
|
||||
|
||||
ynh_secure_remove node_modules
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean
|
||||
|
||||
ynh_script_progression --message="Install start..."
|
||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||
#sed -i '' 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' "$final_path/conf/sql/db.sql"
|
||||
ynh_exec_as $app php$phpversion bin/install start -q
|
||||
popd
|
||||
|
||||
#ynh_script_progression --message="Configuring LDAP and emails..." --weight=2
|
||||
#ynh_add_config --template="../conf/sql.template" --destination="../conf/sql"
|
||||
#ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name < ../conf/sql
|
||||
ynh_script_progression --message="Configuring LDAP and emails..." --weight=2
|
||||
ynh_add_config --template="../conf/sql.template" --destination="../conf/sql"
|
||||
ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name < ../conf/sql
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue