Class: Ki::Cli::DevServer

Inherits:
KiGenerator show all
Defined in:
lib/ki/ki_cli.rb

Constant Summary collapse

DEFAULT_PORT =
1337

Instance Method Summary collapse

Methods inherited from KiGenerator

requires_ki_directory, source_root

Instance Method Details

#start_serverObject



60
61
62
63
# File 'lib/ki/ki_cli.rb', line 60

def start_server
  KiGenerator.requires_ki_directory
  `bundle exec rackup -o 0.0.0.0 -p #{port}`
end