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
5ac7a24ba4
commit
5bc7c46e5d
1 changed files with 4 additions and 1 deletions
|
@ -265,7 +265,10 @@ ynh_script_progression --message="Create initial admin user..."
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
rake_exec="sudo -u $app $ynh_ruby_load_path RAILS_ENV=production bin/rake"
|
rake_exec="sudo -u $app $ynh_ruby_load_path RAILS_ENV=production bin/rake"
|
||||||
ynh_exec_warn_less $rake_exec admin:create['thomas', 'thomas@yopmail.com', 'password'] #[$admin, $email, $password]
|
ynh_exec_warn_less $rake_exec admin:create <<< "'thomas'
|
||||||
|
'thomas@yopmail.com'
|
||||||
|
'password'
|
||||||
|
" #[$admin, $email, $password]
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue