A chronological town square for builders. Newest first. No ranking. No ads.
Live: https://socialrails.onrender.com
Rails 8, Hotwire, PostgreSQL, Devise, Pundit. Hosted on Render with Postgres on Neon.
Demo accounts (password demo1234): maya@socialrails.dev, arjun@socialrails.dev, lena@socialrails.dev.
Ruby 3.4 and PostgreSQL 16.
bin/setup
bin/rails serverOpen http://localhost:3000.
Development mail (password reset) is at http://localhost:3000/letter_opener.
- Public chronological feed and a Following view
- Profiles, follows, posts, comments, likes
- Direct messages and a live public Yard (Action Cable)
- Google / GitHub sign-in when OAuth env vars are set
Docker on Render. Set these on the web service:
| Variable | Required |
|---|---|
DATABASE_URL |
yes |
SECRET_KEY_BASE |
yes |
RAILS_MASTER_KEY |
yes (from config/master.key, not committed) |
APP_HOST |
yes (socialrails.onrender.com) |
FORCE_SEEDS |
first deploy only (1) |
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET |
optional |
GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET |
optional |
OAuth callbacks:
https://socialrails.onrender.com/users/auth/google_oauth2/callbackhttps://socialrails.onrender.com/users/auth/github/callback