Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
web: bin/rails server
css: bin/rails tailwindcss:watch
jobs: bin/jobs start
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ bin/rails db:prepare

# 4. Run
bin/dev
# bin/dev uses Foreman with Procfile.dev to run the Rails server,
# TailwindCSS watcher, and job processor. Add new processes to
# Procfile.dev as needed.
bundle exec rspec
```

Expand Down
2 changes: 2 additions & 0 deletions bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ fi
# Default to port 3000 if not specified
export PORT="${PORT:-3000}"

# Foreman reads Procfile.dev to start multiple services at once
# (Rails server, Tailwind watcher, jobs, etc).
# Let the debug gem allow remote connections,
# but avoid loading until `debugger` is called
export RUBY_DEBUG_OPEN="true"
Expand Down