Setup your database.yml, you can use database.yml.example
Run rails db:create to create database on postgresql
Run rails db:migrate to migrate all table
Run rails db:seed to run all data seed
Running with Docker and Docker Compose
Clone this repository
Run docker-compose up
Configure your database by copying config/database.yml.example into config/database.yml. Make sure postgresql running on port 5432 with username postgres and password secret
Run docker-compose exec web rails db:migrate to migrate the database
Run docker-compose exec web rails db:seed to run database seeds