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 rockstart
For 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:postgres
Docker
Rockstart can configure your Rails
bundle exec rails g rockstart:docker
It 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:rspec
Security
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:quality
It 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:tailwindcss
Extra 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: :development
And then execute:
$ bundle
Or install it yourself as:
$ gem install rockstart
Contributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.