Skip to content

Commit

Permalink
Add Procfile support
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Mar 15, 2024
1 parent 1d14bd9 commit b7d777a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bin/rails server -b 0.0.0.0 -p 3000
shakapacker: bin/shakapacker-dev-server
8 changes: 8 additions & 0 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

exec foreman start -f Procfile.dev "$@"

0 comments on commit b7d777a

Please sign in to comment.