1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/acropolis_ynh.git synced 2024-09-03 18:06:22 +02:00
This commit is contained in:
Thomas Phillips 2021-12-27 13:32:57 +05:30
parent 12a9cb87a3
commit 2b01f7717f

View file

@ -254,6 +254,14 @@ pushd "$final_path"
ynh_exec_warn_less $rake_exec db:migrate
ynh_exec_warn_less $rake_exec assets:precompile
popd
ynh_script_progression --message="Create admin initial user..."
pushd "$final_path"
rake_exec="sudo -u $app $ynh_ruby_load_path RAILS_ENV=production bin/rake"
ynh_exec_warn_less $rake_exec admin:create
popd
#=================================================
# SETUP THE CRON FILE
#=================================================