Code Monkey home page Code Monkey logo

quote-editor's Introduction

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

quote-editor's People

Contributors

matheuspolicamilo avatar tranquangvu avatar

Watchers

 avatar

Forkers

go-patrick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.