From 98864f9c0d770910738c7317e90d41e6b0d59965 Mon Sep 17 00:00:00 2001 From: danny pham Date: Sun, 6 Mar 2016 10:08:25 -0800 Subject: [PATCH] catch mail only in dev --- Procfile | 2 +- Procfile.dev | 3 +++ README.md | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Procfile.dev diff --git a/Procfile b/Procfile index be7fdc459..2d88460c7 100755 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb worker: bundle exec rake jobs:work -mailcatcher: mailcatcher -f + diff --git a/Procfile.dev b/Procfile.dev new file mode 100644 index 000000000..9aaa0c7a3 --- /dev/null +++ b/Procfile.dev @@ -0,0 +1,3 @@ +web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb +worker: bundle exec rake jobs:work +mailcatcher: mailcatcher -f \ No newline at end of file diff --git a/README.md b/README.md index 1b76cbf5e..4b8725592 100755 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ bundle exec rake db:migrate Start local server and mail worker: ```no-highlight -foreman start +foreman start -f Procfile.dev ``` View your website at the port default `http://localhost:5000/`.