All your Rails apps should start off with a bunch of great defaults.
Kickstart is a Rails template, so you pass it in as an option when creating a new app.
You'll need the following installed to run the template successfully:
- Ruby 3.0 or higher
- bundler -
gem install bundler - rails -
gem install rails - Database - we recommend Postgres, but you can use MySQL, SQLite3, etc
- Redis - For ActionCable support
- Yarn -
brew install yarnor Install Yarn - Foreman (optional) -
gem install foreman- helps run all your processes in development
-
Development
- annotate - Annotate Rails classes with schema and routes info.
- awesome_print - Pretty print your Ruby objects with style in full color and with proper indentation.
- faker - A library for generating fake data such as names, addresses, and phone numbers.
Comming Soonletter_opener_web - A web interface for browsing Ruby on Rails sent emails.
-
Security
Comming Soonbrakeman - Detects security vulnerabilities in Ruby on Rails applications via static analysis.Comming Soonbundler-audi - Provides patch-level verification for Bundled apps.
-
Authentication/Administration
-
Job Processing
Comming Soongood_job - A multithreaded, Postgres-based ActiveJob backend for Ruby on Rails
-
Other
Comming Soonfriendly_id - Create pretty URLs and work with human-friendly strings as if they were numeric ids.Comming Soonname_of_person - Presenting names of people in full, familiar, abbreviated, and initialized forms (but without titulation etc)Comming Soonsitemap_generator - SitemapGenerator is a framework-agnostic XML Sitemap generator.Comming Sooninline_svg - Get an SVG into your view and then style it with CSS.Comming Soonresponders - A set of Rails responders to dry up your application.
rails new myapp --database=postgresql --css=tailwind --skip-bundle --skip-test -m https://raw.githubusercontent.com/MatthewLaFalce/kickstart/main/template.rbOr if you have downloaded this repo, you can reference template.rb locally:
rails new myapp --database=postgresql --css=tailwind --skip-bundle --skip-test -m template.rb❓Having trouble? Try adding DISABLE_SPRING=1 before rails new. Spring will get confused if you create an app with the same name twice.
bin/devYou can also run them in separate terminals manually if you prefer.
A separate Procfile is generated for deploying to production on Heroku.
brew update
brew install redis
brew services start redis
sudo apt-get install redis-server
rails db:drop
spring stop
cd ..
rm -rf myapp