Skip to content

Commit

Permalink
Update: Allow the bin/div to read $PORT from .env
Browse files Browse the repository at this point in the history
Rather than defaulting to 3002, read the PORT=xxxx value from
a local `.env` file

This ensures that generated emails and script will work if a
dev uses 3000, 4050, etc in their local .env file
  • Loading branch information
colinbruce committed Mar 20, 2023
1 parent 1712033 commit 432e7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
web: bin/rails server -p 3002
web: bin/rails server -p ${PORT:-3002}
worker: bundle exec sidekiq
js: yarn build --watch
css: yarn build:css --watch

0 comments on commit 432e7eb

Please sign in to comment.