Class: Soaring::Runner
- Inherits:
-
Object
- Object
- Soaring::Runner
- Defined in:
- lib/soaring/runner.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Runner
constructor
A new instance of Runner.
- #run(project_folder) ⇒ Object
Constructor Details
#initialize(options) ⇒ Runner
3 4 5 |
# File 'lib/soaring/runner.rb', line 3 def initialize() = end |
Instance Method Details
#run(project_folder) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/soaring/runner.rb', line 7 def run(project_folder) environment = 'development' port = 9393 binding_address = '0.0.0.0' # exec("export SOAR_TECH=debug; export RACK_ENV=development; ./run.sh") `bundle exec rackup -E #{environment} ./config.ru -p #{port} --host #{binding_address}` end |