SPARC Wiki
Capistrano Deployment Instructions
Wenjun He (Unlicensed) 3 (1565 days ago)
Assumptions:
* mysql is installed and empty database has been created
* rvm is installed system wide
* httpd is installed
Directions
* gem install passenger
* rvmsudo passenger-install-apache2-module
* copy lines passenger provides into /etc/httpd/conf/httpd.conf
# this is an example only, use the information provided by phusion passenger
# load phusion passenger
LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.17
* create a conf file for the app /etc/httpd/conf.d/sparc-request.conf and change the RackEnv
<VirtualHost *:80>
ServerName obis-sparc-dev.mdc.musc.edu
DocumentRoot /var/www/rails/sparc-rails/current/public
<Directory /var/www/rails/sparc-rails/current/public>
AllowOverride all
Options -MultiViews
RackEnv testing
</Directory>
</VirtualHost>
* capistrano user exists and has access to rvm group
* your public key has been added to the capistrano users .ssh/authorized_keys file
* cap deploy:check and then create any files it needs to the shared folder
* capistrano user has rights to clone the sparc-request repo from github, make sure the capistrano users key is added as key for a user that rights to the repos
* cap deploy
, multiple selections available,
Related content
240621 SPARC OS Ops Agenda
240621 SPARC OS Ops Agenda
More like this
SPARCRequest with Docker (contributed by OHSU, Iowa, MUSC)
SPARCRequest with Docker (contributed by OHSU, Iowa, MUSC)
More like this
240719 SPARC OS Ops Agenda
240719 SPARC OS Ops Agenda
More like this
SPARCFunding Technical Guide (v.3.12.1)
SPARCFunding Technical Guide (v.3.12.1)
More like this
20250312-Technical Committee Meeting Minutes
20250312-Technical Committee Meeting Minutes
More like this
20240731-Technical Committee Meeting Minutes
20240731-Technical Committee Meeting Minutes
More like this
2011-2021 © MUSC Foundation for Research Development