Skip to content

Quote editor built using Hotwire in the Turbo Rails tutorial.

Notifications You must be signed in to change notification settings

MatheusPoliCamilo/quote-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6168d9a ยท Jul 26, 2022

History

41 Commits
Jun 22, 2022
Jun 16, 2022
Jun 22, 2022
Jun 21, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 22, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
Jun 20, 2022
Jun 20, 2022
Jun 20, 2022
Jun 16, 2022
Jul 26, 2022
Jun 16, 2022
Jun 16, 2022
Jun 21, 2022
Jun 16, 2022
Jun 16, 2022

Repository files navigation

Hotrails: The Turbo Rails Tutorial ๐Ÿ’Ž๐Ÿ›ค๏ธโšก

This project is a modern, single-page, reactive web applications with Ruby on Rails 7 without writing any custom JavaScript code. Built in the turbo rails tutorial: Hotrails.

โš™๏ธ Setting up the project

First of all, you need to install the Ruby 3.0.X version. You can use the rvm or asdf for this.

You also need to install the PostgreSQL server and start it:

sudo service postgresql start

With the Ruby installed, and the PostgreSQL service running, you need to install all the projects dependecies and setup the database:

bin/setup

Starting Redis server

Start you Redis server (you can use the asdf-redis plugin to install it) with the command below to make Action Cable work locally:

redis-server

Running migrations

You need to modify your database schema according to the project schema:

bin/rails db:migrate

Populating the development database

You can populate your development database with sample data:

bin/rails db:seed

๐Ÿƒโ€โ™‚ Running the project

To run the project in the http://localhost:3000, run the command below:

bin/dev

๐Ÿ–ผ๏ธ Screenshots

image

image