1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

more verbose logging

This commit is contained in:
lapineige 2023-05-02 15:37:58 +02:00 committed by GitHub
parent 3f117e4a84
commit 2d79bdd0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ source "$install_dir/.env"
ynh_script_progression --message="Configuring Bonfire release..." --weight=1
cd $install_dir
ynh_exec_warn just config
ynh_exec_warn ynh_exec_as $app -s $SHELL -lc just config
#=================================================
# Building the release
@ -84,11 +84,11 @@ release_folder="_build/prod/rel/bonfire"
ynh_script_progression --message="Running database migrations..." --weight=1
# Database created before, let's run the migrations
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "just cmd $release_folder/bin/bonfire eval 'EctoSparkles.Migrator.migrate()'"
ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "just cmd $release_folder/bin/bonfire eval 'EctoSparkles.Migrator.migrate()'"
ynh_script_progression --message="Starting Bonfire..." --weight=1
# start bonfire as a daemon
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "just cmd $release_folder/bin/bonfire start daemon"
ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "just cmd $release_folder/bin/bonfire start daemon"
#=================================================
# END OF SCRIPT