Skip to content

dave-shanahan/Hotwire-quote-editor

Repository files navigation

Hotrails

This project is a follow along for the hotwire tutorial from hotrails.dev

Screenshot of Quotes index page

demo 1 of Hotwire app

Screenshot of Quotes show page

demo 2 of Hotwire app

Setup

Requirements

  • Ruby 3.1.2
  • Rails 7.0.7
  • Nodejs 20.8.0

Commands

  • asdf install ruby 3.1.2

  • asdf local ruby 3.1.2

  • Confirm ruby 3.1.2 is set using ruby -v

  • gem install bundler:2.4.18

  • bundle install

  • asdf install nodejs 20.8.0

  • asdf local nodejs 20.8.0

  • npm install yarn

  • npm install -g yarn

  • yarn install

  • bundle exec rails db:migrate

  • bundle exec rails db:seed

  • Ensure Redis server is running locally

  • bin/dev

Access Application

Run tests

  • bundle exec rails test
  • bundle exec rails test:system

About

Repo for the following hotwire tutorial -- https://www.hotrails.dev/turbo-rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published