diff --git a/.gitignore b/.gitignore index b61a4a34a55..3ae86fccf53 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,6 @@ script/refresh_db # temp directory for chef (used to configure vagrant VM) chef/tmp/* + +# .procfile +.profile diff --git a/.procfile.sample b/.procfile.sample new file mode 100644 index 00000000000..3c5ce9475fc --- /dev/null +++ b/.procfile.sample @@ -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 diff --git a/Procfile b/Procfile new file mode 100644 index 00000000000..0137b1d56b1 --- /dev/null +++ b/Procfile @@ -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