We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03217f9 commit a307f22Copy full SHA for a307f22
demo/Procfile.dev
@@ -1,3 +1,3 @@
1
-web: bundle exec bin/rails server -p ${TEST_APP_PORT:-3000} -b 0.0.0.0
+web: bundle exec bin/rails server -b 0.0.0.0
2
js: yarn build --watch
3
css: yarn build:css --watch
demo/bin/dev
@@ -5,4 +5,7 @@ if ! gem list foreman -i --silent; then
5
gem install foreman
6
fi
7
8
+# Default to port 3000 if not specified
9
+export PORT="${PORT:-3000}"
10
+
11
exec foreman start -f Procfile.dev "$@"
0 commit comments