Skip to content

Commit

Permalink
catch mail only in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
phamdt committed Mar 6, 2016
1 parent 222922e commit 98864f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
worker: bundle exec rake jobs:work
mailcatcher: mailcatcher -f

3 changes: 3 additions & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
worker: bundle exec rake jobs:work
mailcatcher: mailcatcher -f
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/`.
Expand Down

0 comments on commit 98864f9

Please sign in to comment.