mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Cleanup
This commit is contained in:
parent
940052c708
commit
9062307cee
3 changed files with 1 additions and 9 deletions
|
@ -46,10 +46,6 @@ chown -R "$app:www-data" "$data_dir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
# ynh_add_config --template="secrets.yml" --destination="$install_dir/config/secrets.yml"
|
||||
# chmod 400 "$install_dir/config/secrets.yml"
|
||||
# chown "$app:$app" "$install_dir/config/secrets.yml"
|
||||
|
||||
ynh_add_config --template="dot_env" --destination="$install_dir/.env"
|
||||
chmod 400 "$install_dir/.env"
|
||||
chown "$app:$app" "$install_dir/.env"
|
||||
|
@ -65,9 +61,7 @@ ynh_script_progression --message="Building app..." --weight=7
|
|||
|
||||
fabmanager_build_ruby
|
||||
fabmanager_build_ui
|
||||
|
||||
fabmanager_seed_db
|
||||
# fabmanager_migrate_db
|
||||
|
||||
ynh_secure_remove --file="$install_dir/.cache"
|
||||
|
||||
|
|
|
@ -56,7 +56,6 @@ ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name"
|
|||
ynh_script_progression --message="Building app..." --weight=7
|
||||
|
||||
fabmanager_build_ruby
|
||||
|
||||
fabmanager_build_ui
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -82,11 +82,10 @@ ynh_secure_remove --file="$install_dir/node_modules"
|
|||
ynh_secure_remove --file="$install_dir/tmp/cache"
|
||||
|
||||
fabmanager_build_ruby
|
||||
fabmanager_build_ui
|
||||
|
||||
fabmanager_migrate_db
|
||||
|
||||
fabmanager_build_ui
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue