Skip to content

dev-grouch/rails_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails 7 Starter

This is a starter app for Rails 7. It includes:

  • ESBuild
  • Sass
  • Devise
  • RSpec
  • Capybara
  • FactoryBot
  • Faker
  • Rubocop

Getting Started

To get started, clone the repo and then install the needed gems:

$ bundle install
$ rails db:create && rails db:migrate
$ yarn install
$ EDITOR="code --wait" bin/rails credentials:edit

📝 we will need to set SECRET_KEY_BASE in the production host to the value of secret_key_base seen when running the bin/rails credentials:edit command above.

Devise [docs]

$ rails generate devise:install
$ rails generate devise:views
$ rails generate devise User

Tests

To run the tests:

First, install RSpec:

$ rails generate rspec:install

Then run tests with:

$ rspec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published