Class: BP::Hootroot

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bp/hootroot.rb

Constant Summary collapse

LICENSE_KEY =
'c34pg2jxiyukluka'
SESSION_SECRET =
'2a231132d739c87cad2aa2c7c669e9d8865d7f5e088693c603a5cb4980e75ceebff950d98cbb307f5504d4f9a1cb4b0b46b8596a5a353a0bdec18cf70103ba6d'
HOPTOAD_KEY =
'32584c58d01ba76c204e708631b911e4'

Instance Method Summary collapse

Instance Method Details

#serverObject



11
12
13
14
15
16
# File 'lib/bp/hootroot.rb', line 11

def server
  ENV['LICENSE_KEY'] = LICENSE_KEY
  ENV['SESSION_SECRET'] = SESSION_SECRET
  ENV['HOPTOAD_KEY'] = HOPTOAD_KEY
  exec "rails s"
end