isabarros / rails_react_todo_list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO List

To Do List app for created using React and Ruby on Rails

How to run the project

  1. Install docker and docker-compose
  2. Run make run
  3. In another terminal open the project root folder and run make create-database to create the databases

How to run database migrations

  1. You need to have your application up and running (docker-compose up)
  2. In another terminal execute docker-compose run web bundle exec rake db:migrate

How to populate db with seed data

Run docker-compose run web bundle exec rake db:seed

Troubleshooting Docker on Linux

(note: in case permission denied while trying to connect to the Daemon sudo chmod 666 /var/run/docker.sock) (note2: https://docs.docker.com/engine/install/linux-postinstall/#configure-docker-to-start-on-boot)

About


Languages

Language:Ruby 71.4%Language:JavaScript 13.7%Language:HTML 11.4%Language:CSS 1.5%Language:Dockerfile 1.4%Language:Shell 0.4%Language:Makefile 0.3%