/rails_starter

StimulusReflex, CableReady, Turbo, Vite, Devise, Rails 7 ready to go.

Primary LanguageRuby

README

Rails 7 + CableReady 5 + StimulusReflex 3.5 + Vite

Prerequisites

  • Ruby 3+
  • Docker (For redis / postgres)
  • PNPM

Installation

Either click Use The Template in Github, or clone the repo.

git clone https://github.com/ParamagicDev/rails_starter
cd rails_starter

Then, to run installation steps do the following:

bundle install && npm run setup

Getting Started

Using Overmind

overmind start -f ./Procfile.dev

Using seperate terminals

docker-compose up redis db
bundle exec rails server
./bin/vite dev

Then, run the following to setup the database:

bundle exec rails db:create
bundle exec rails db:migrate

Then navigate to localhost:3000 and you should be good to go.