To Do List app for created using React and Ruby on Rails
- Install docker and docker-compose
- Run
make run
- In another terminal open the project root folder and run
make create-database
to create the databases
- You need to have your application up and running (
docker-compose up
) - In another terminal execute
docker-compose run web bundle exec rake db:migrate
Run docker-compose run web bundle exec rake db:seed
(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)