mirror of
https://github.com/YunoHost-Apps/acropolis_ynh.git
synced 2024-09-03 18:06:22 +02:00
changes
This commit is contained in:
parent
12a9cb87a3
commit
2b01f7717f
1 changed files with 8 additions and 0 deletions
|
@ -254,6 +254,14 @@ pushd "$final_path"
|
||||||
ynh_exec_warn_less $rake_exec db:migrate
|
ynh_exec_warn_less $rake_exec db:migrate
|
||||||
ynh_exec_warn_less $rake_exec assets:precompile
|
ynh_exec_warn_less $rake_exec assets:precompile
|
||||||
popd
|
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
|
# SETUP THE CRON FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue