Class: Satorix::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/satorix/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_satorixObject



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/rails/generators/satorix/install_generator.rb', line 10

def install_satorix
  template 'install/Procfile', 'Procfile'
  template 'install/.gitlab-ci.yml', '.gitlab-ci.yml'

  template 'install/config/passenger_standalone/nginx.conf.erb', 'config/passenger_standalone/nginx.conf.erb'

  template 'install/config/passenger_standalone/includes/authentication.erb', 'config/passenger_standalone/includes/authentication.erb'
  template 'install/config/passenger_standalone/includes/page_level_redirects.erb', 'config/passenger_standalone/includes/page_level_redirects.erb'
  template 'install/config/passenger_standalone/includes/proxy_configuration.erb', 'config/passenger_standalone/includes/proxy_configuration.erb'

  say ''
  say 'Satorix installation complete!', "\e[32m"
  say 'For additional configuration information, please see http://gitlab.iexposure.com/satorix/satorix'
  say ''
end