Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redmine_ynh
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
coops
redmine_ynh
Commits
6dba820a
Unverified
Commit
6dba820a
authored
Mar 13, 2019
by
liberodark
Committed by
GitHub
Mar 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install
parent
856b53ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
install
scripts/install
+4
-8
No files found.
scripts/install
View file @
6dba820a
...
...
@@ -50,9 +50,6 @@ app=$YNH_APP_INSTANCE_NAME
final_path
=
/var/www/
$app
test
!
-e
"
$final_path
"
||
ynh_die
"This path already contains a folder"
back_path
=
/opt/pia-back
test
!
-e
"
$back_path
"
||
ynh_die
"This path already contains a folder"
# Normalize the url path syntax
path_url
=
$(
ynh_normalize_url_path
$path_url
)
...
...
@@ -102,8 +99,7 @@ ynh_install_app_dependencies postgresql ruby-dev zlib1g-dev libpq-dev
ynh_print_info
"Installing Rails & Bunlder..."
gem install rails:5.0.6 bundler:2.0.1
#gem install rails bundler
gem install rails:5.2.2 bundler:2.0.1
#=================================================
# CREATE A POSTGRESQL DATABASE
...
...
@@ -137,16 +133,16 @@ ynh_system_user_create $app
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_print_info
"Installing
PIA Back End
..."
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
"
$
back_path
"
"back
"
ynh_setup_source
"
$
final_path
"
"
$app
"
#=================================================
# MODIFY A CONFIG FILE
#=================================================
ynh_print_info
"Install
PIA Back End
Conffiguration..."
ynh_print_info
"Install
Redmine
Conffiguration..."
rm /opt/pia-back/config/database.example.yml
cp
-a
../conf/database.example.yml /opt/pia-back/config/database.yml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment