Skip to content

Commit

Permalink
Make Forego port match APPLICATION_HOST port
Browse files Browse the repository at this point in the history
Suspenders previously included a `.foreman` file which specified that
Foreman should use port 3000, and not the default of 5000 (rationale
in a42ec7e). The switch from Foreman to Forego in 6b7614a removed this
file since Forego doesn't support it, causing a reversion to port 5000
and a mismatch with the `APPLICATION_HOST` and `ASSET_HOST` variables
in the sample `.env` file.

Forego does support specifying a port via the PORT environment
variable, so this change adds that variable to the sample `.env` file.

[closes #665]
[closes #666]
  • Loading branch information
digitalcora authored and tute committed Nov 19, 2015
1 parent 2ab7c3e commit 137832e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/sample.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://github.com/ddollar/forego
ASSET_HOST=localhost:3000
APPLICATION_HOST=localhost:3000
PORT=3000
RACK_ENV=development
SECRET_KEY_BASE=development_secret
EXECJS_RUNTIME=Node
Expand Down

0 comments on commit 137832e

Please sign in to comment.