Class: Radar::App::Tasks::Server

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/radar/app/tasks/server.rb

Instance Method Summary collapse

Instance Method Details

#start_serverObject



8
9
10
11
# File 'lib/radar/app/tasks/server.rb', line 8

def start_server
  Radar::App::Bootstrap.startup
  Radar::App::Server.new(ENV['PORT'] || 5000).start
end