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
6dba820a3d
commit
f1495bc18e
1 changed files with 3 additions and 12 deletions
|
@ -137,7 +137,7 @@ ynh_print_info "Installing Redmine..."
|
||||||
|
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path" "$app"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
|
@ -156,9 +156,9 @@ ynh_replace_string "yunobase" "$db_name" "/opt/pia-back/config/database.yml
|
||||||
#=================================================
|
#=================================================
|
||||||
# COMPILE PIA BACK
|
# COMPILE PIA BACK
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info "Compile PIA Back End..."
|
ynh_print_info "Compile Redmine..."
|
||||||
|
|
||||||
pushd /opt/pia-back/
|
pushd $final_path
|
||||||
bundle install
|
bundle install
|
||||||
mv config/application.example.yml config/application.yml
|
mv config/application.example.yml config/application.yml
|
||||||
key=$(RAILS_ENV=production bin/rake secret)
|
key=$(RAILS_ENV=production bin/rake secret)
|
||||||
|
@ -167,15 +167,6 @@ ynh_replace_string "__SECRET_KEY_HERE__" "$key" "/opt/pia-back/config/applicatio
|
||||||
RAILS_ENV=production bin/rake db:migrate
|
RAILS_ENV=production bin/rake db:migrate
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
|
||||||
#=================================================
|
|
||||||
ynh_print_info "Installing PIA Front End..."
|
|
||||||
|
|
||||||
ynh_app_setting_set $app final_path $final_path
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
|
||||||
ynh_setup_source "$final_path" "front"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue