Skip to content

Instantly share code, notes, and snippets.

@joekrump
Created July 25, 2023 14:53
Show Gist options
  • Save joekrump/a47b09c8572071dd30457c4066cee7fa to your computer and use it in GitHub Desktop.
Save joekrump/a47b09c8572071dd30457c4066cee7fa to your computer and use it in GitHub Desktop.
Procfile setup for Rails & Vite app
redis: redis-server # optional. Comment out if you are not using redis
web: bin/rails server -p 3000
worker: bundle exec sidekiq # optional. Comment out if you are not using sidekiq for background jobs
vite: bundle exec bin/vite dev
@joekrump
Copy link
Author

Run with something like Overmind

Ex. overmind start -f Procfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment