Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/georgy5/quote-editor

Learn Hotwire (Turbo and Stimulus)
https://github.com/georgy5/quote-editor

hotwire rails7 ruby stimulus turbo

Last synced: 27 days ago
JSON representation

Learn Hotwire (Turbo and Stimulus)

Awesome Lists containing this project

README

        

# README

Implementation of the Turbo Rails tutorial by Alexandre Ruban https://www.hotrails.dev/turbo-rails to learn Hotwire

![README_screenshot](https://user-images.githubusercontent.com/2192560/195071365-e56d9535-e041-4e3b-9150-83776900e40b.jpg)
* Ruby version:\
Ruby 3 and Rails 7

* System dependencies:\
Yarn package manager (or NPM - I used Yarn)\
Bundler

* Database creation:\
Run `bin/rails db:create`\
Run `bin/rails db:migrate`

* Database initialization:\
Run `bin/rails db:seed`

* How to run the test suite:\
Run `bin/rails test:all`

## Getting Started

To get a local copy up and running follow these steps.

- Change to the desired directory then run the following:

- Git clone the project
- cd quote-editor/
- run `npm install` or `yarn install`
- run `bundle install`
- run `rails db:create`
- run `rails db:migrate`
- run `rails db:seed`

## Running the Application Locally

\_Steps to execute the app locally_

> Run `bin/rails server` in the console in the working directory

## Running tests

\_Steps to execute the app's test suite locally_

> Run `bin/rails test:all`

## Acknowledgements

Hotwire Tutorial by [Alexandre Ruban on hotrails.dev](https://www.hotrails.dev/)