A modern Rails 8 starter template designed to accelerate SaaS application development
- Rich Text Blog CMS - Built-in content management system
- Subscription Payments - Integrated Stripe Checkout
- Referral Marketing - Built-in Rewardful integration
- User Authentication - Secure auth via Devise
- Admin Panel - Beautiful admin interface with Active Admin + Tailwind CSS
- Modern Design System - Flowbite + Tailwind UI
- Responsive Navigation - Mobile-friendly interface
- SEO Optimization - Complete toolbelt via metamagic
- Interactive Charts - Data visualization with Chartkick
- Testing Suite - Comprehensive RSpec setup
- Code Quality - RuboCop enforcement with auto-fixes
- Code Coverage - Beautiful GUI via SimpleCov + TailwindCov
- Debugging - Enhanced error pages with Better Errors
- API Requests - Simplified HTTP with HTTParty
- Database - Production-ready PostgreSQL setup
- Background Jobs - Queue processing via Delayed
- Email Delivery - Postmark integration with letter_opener for development
- HTTPS Proxy - Heroku ↔ Cloudflare integration (
lib/cloudflare_proxy.rb) - CI/CD - Automated testing via GitHub Actions
- A/B Testing - Built-in Split integration
- Script Management - GUI for Google Analytics and other scripts
- Data Generation - Test data with Faker
- App Renaming - One-command app renaming with Rename
- Task Scheduling - Cron job management (
lib/tasks/scheduler.rake)
-
Clone the repository
git clone <your-repo-url> cd speedrail
-
Run Docker setup
./bin/docker-setup
-
Start the application
docker-compose up
-
Access your app
- Application: http://localhost:3000
- Admin panel: http://localhost:3000/admin
-
Clone the repository
git clone <your-repo-url> cd speedrail
-
Generate your new app
./bin/speedrail your_app_name
-
Configure credentials
- Inspect and save the generated credentials file
- Update with your API keys and secrets
-
Start developing
cd your_app_name bin/dev
📚 Need help? Check out the comprehensive guides in the
docs/directory for detailed tutorials and best practices.
# Start all services
docker-compose up
# Run commands in the container
docker-compose exec web bundle exec rails console
docker-compose exec web bundle exec rspec
# Stop services
docker-compose downbin/dev # Starts server, frontend, and background job queueTo sync your project with the latest Speedrail improvements:
# One-time setup
git remote add speedrail https://github.com/yourusername/speedrail.git
# When you notice Speedrail updates
git pull
git fetch speedrail
git merge speedrail/master --allow-unrelated-histories
git checkout -b speedrail_updates
git add .
git push speedrail_updates
# Use GitHub UI to handle any conflicts# Run all tests (headless)
bundle exec rspec
# Run tests in specific directory
bundle exec rspec spec/models/
# Run tests with browser (headed)
HEADED=TRUE bundle exec rspecClean code keeps projects manageable as they grow in complexity.
# Check code style issues
rubocop
# Auto-fix safe issues
rubocop -a
# Auto-fix all issues (use with caution)
rubocop -A
⚠️ Note: RuboCop runs automatically during GitHub CI checks. To disable enforcement, remove theRubocop Checkstep from.github/workflows/ci.yml.
Contributions are welcome! Please feel free to submit a Pull Request with improvements of any kind.
- 🐛 Bug fixes
- ✨ New features
- 📚 Documentation improvements
- 🎨 UI/UX enhancements
Original template created by @ryanckulp.
Built with ❤️ for the Rails community