Added foreman procfile

This commit is contained in:
Marco Ceppi 2013-02-13 00:00:40 -05:00
parent 3c9cab54aa
commit ce0281136f
3 changed files with 18 additions and 0 deletions

3
.gitignore vendored
View file

@ -65,3 +65,6 @@ script/refresh_db
# temp directory for chef (used to configure vagrant VM)
chef/tmp/*
# .procfile
.profile

12
.procfile.sample Normal file
View file

@ -0,0 +1,12 @@
###
# .procfile example
##
# Move this file to .procfile and change the values
# below to suit your needs.
###
# This specifies how many of each task to run
concurrency: web=2,sidekiq=1,clockwork=1
# Define the port range to use, must be in multiples of 1000
port: 3000

3
Procfile Normal file
View file

@ -0,0 +1,3 @@
web: bundle exec rails server -p $PORT
sidekiq: bundle exec sidekiq -e $RAILS_ENV
clockwork: bundle exec clockwork config/clock.rb