- Clone this repository
- Run
bundle install
- Configure your database by copying
config/database.yml.example
intoconfig/database.yml
. Make sure postgresql running on port 5432 with usernamepostgres
and passwordpostgres
- Run
rails db:create
to create database on postgresql - Run
rails db:migrate
to migrate the database - Run
rails db:seed
to run database seeds
- Clone this repository
- Run
docker-compose run web bundle install
- Configure your database by copying
config/database.yml.example
intoconfig/database.yml
. Make sure postgresql running on port 5432 with usernamepostgres
and passwordsecret
- Run
docker-compose up
- Run
docker-compose run web rails db:migrate
to migrate the database - Run
docker-compose run web rails db:seed
to run database seeds