Giter Site home page Giter Site logo

rails_6_base_hw's Introduction

Code Climate Semaphore

Hotwire Test (ToDos App)

About this app

This app is a demo for managing a ToDo list with Ruby on Rails, using Hotwire (Turbo) as a driver for reactivity in the UI/UX.

Development

  1. Clone this repo: git clone [email protected]:CharlieIGG/hotwire_test.git
  2. Set up and run the application (see below)
  3. Enjoy

Setting up and running the app

Directly on your Host

This is NOT recommended. This application is fully dockerized, and therefore the Docker approach (see below) is preferred.

You will need the following Pre-Requisites:

  1. Ruby 2.6.X or higher
  2. Rails 6.1.3
  3. PostgresSQL

Follow the standard approach for installing a Rails application using bundle install, rails db:create, rails db:migrate.

Finally start your Rails server with rails s

Using Docker

You will need the following Pre-Requisites:

  1. Docker Desktop

All you need to do is run docker compose up, which will automatically download all dependencies, start all necessary services, and setup the whole project for you (might take a couple of minutes).

Alternatively if you want to attach and have TTY on the main (Puma) HTTP server, you can run docker compose run --service-ports web, where web is the main Rails server service.

To log into the Rails console, you can always do docker compose run web rails c, or to do other commands (such as rake tasks) inside the container simply do docker compose run web bash.

rails_6_base_hw's People

Watchers

 avatar

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.