mirror of
https://github.com/YunoHost-Apps/redmine_ynh.git
synced 2024-09-03 20:16:16 +02:00
Update install
This commit is contained in:
parent
66cbd652e4
commit
9a8f457476
1 changed files with 10 additions and 4 deletions
|
@ -129,14 +129,20 @@ cp -a ../conf/configuration.example.yml $final_path/config/configuration.yml
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info "Compile Redmine..."
|
ynh_print_info "Compile Redmine..."
|
||||||
|
|
||||||
|
# pushd $final_path
|
||||||
|
# gem install bundler
|
||||||
|
# ynh_exec_as $app bundle install --without development test --path vendor/bundle
|
||||||
|
# ynh_exec_as $app bundle exec rake generate_secret_token
|
||||||
|
# ynh_exec_as $app RAILS_ENV=production bundle exec rake db:migrate
|
||||||
|
# ynh_exec_as $app RAILS_ENV=production REDMINE_LANG=en bundle exec rake redmine:load_default_data
|
||||||
|
# popd
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
gem install bundler
|
ynh_exec_as $app bundle install
|
||||||
ynh_exec_as $app bundle install --without development test --path vendor/bundle
|
|
||||||
ynh_exec_as $app bundle exec rake generate_secret_token
|
ynh_exec_as $app bundle exec rake generate_secret_token
|
||||||
ynh_exec_as $app RAILS_ENV=production bundle exec rake db:migrate
|
ynh_exec_as $app RAILS_ENV=production bundle exec rake db:migrate
|
||||||
ynh_exec_as $app RAILS_ENV=production REDMINE_LANG=en bundle exec rake redmine:load_default_data
|
ynh_exec_as $app RAILS_ENV=production bundle exec rake redmine:load_default_data
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue