Rockstart
A collection of generators to rapidly start and update ready-to-run Rails Applications.
Usage
Most applications can be configured using the standard generator:
bundle exec rails g rockstartFor those wanting more control; Rockstart provides a number of generators that can be used as required.
Postgres
Rockstart creates a config/database.yml suitable for Heroku or Docker installations.
bundle exec rails g rockstart:postgresDocker
Rockstart can configure your Rails
bundle exec rails g rockstart:dockerIt uses the current Ruby Version, your Rails configuration, along with the current Application Name, to generate a Dockerfile with sensible defaults.
RSpec
Rockstart can pre-configure RSpec for your repository.
bundle exec rails g rockstart:rspecSecurity
Rockstart can install a rake task for checking the security of your app
bundle exec rails g rockstart:security
Quality
Rockstart can add tasks for maintaining the quality of your codebase.
bundle exec rails g rockstart:qualityIt will install rubocop-rails, add a basic set of rule guidelines and auto-generates a configuration file to highlight any existing problems.
Provides a "quality" rake task, which runs all code quality tests on your Application.
bundle exec rake quality
Frontend Helpers
Installs helpers for easy developer of Frontend Interfaces:
bundle exec rails g rockstart:frontend_helpers
Tailwind CSS
Tailwind CSS is a CSS framework for rapidly prototyping applications.
Install it, via Webpacker, by running:
bundle exec rails g rockstart:tailwindcssExtra Steps
A Heroku release may fail during the relase page, use the heroku-releases-retry allows the latest deploy to be retried.
heroku plugins:install heroku-releases-retry
Installation
Add this line to your application's Gemfile:
gem 'rockstart', group: :developmentAnd then execute:
$ bundleOr install it yourself as:
$ gem install rockstartContributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.