Class: Bently::Foreman
- Inherits:
-
RubyRecipe
- Object
- Recipe
- RubyRecipe
- Bently::Foreman
- Defined in:
- lib/bently/recipe/foreman.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ Foreman
constructor
A new instance of Foreman.
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#initialize ⇒ Foreman
Returns a new instance of Foreman.
9 10 11 12 13 14 |
# File 'lib/bently/recipe/foreman.rb', line 9 def initialize append 'Procfile', 'web: bundle exec rails server -p $PORT -e $RACK_ENV' run 'gem install foreman' run 'echo "RACK_ENV=development" >>.env' todo 'foreman start' end |