Class: Rugular::Server
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Rugular::Server
- Includes:
- Thor::Actions
- Defined in:
- lib/rugular/tasks/server.rb
Instance Method Summary collapse
Instance Method Details
#add_template_application_sass_file ⇒ Object
15 16 17 18 19 20 |
# File 'lib/rugular/tasks/server.rb', line 15 def add_template_application_sass_file FileUtils.cp( "#{lib_directory}/templates/server/application.sass", "#{destination_root}/.application.sass" ) end |
#start_server ⇒ Object
22 23 24 25 26 27 |
# File 'lib/rugular/tasks/server.rb', line 22 def start_server system( "bundle exec foreman start --color --root=#{destination_root} " \ "--procfile=#{rugular_procfile}" ) end |