1
0
Fork 0
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:
liberodark 2019-03-13 14:24:50 +01:00 committed by GitHub
parent 6dba820a3d
commit f1495bc18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@ ynh_print_info "Installing Redmine..."
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" "$app"
ynh_setup_source "$final_path"
#=================================================
# MODIFY A CONFIG FILE
@ -156,9 +156,9 @@ ynh_replace_string "yunobase" "$db_name" "/opt/pia-back/config/database.yml
#=================================================
# COMPILE PIA BACK
#=================================================
ynh_print_info "Compile PIA Back End..."
ynh_print_info "Compile Redmine..."
pushd /opt/pia-back/
pushd $final_path
bundle install
mv config/application.example.yml config/application.yml
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
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
#=================================================