From aabc45a0c26e58cc3673d019d23642d87f28d9fd Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Tue, 18 Apr 2017 19:59:13 +0200 Subject: [PATCH] Improve db setup instructions --- docs/INSTALL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 3382aad..8a2b7d1 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -111,8 +111,14 @@ they're mapped inside repository's `volumes` directory. ### Initialize the database -Now, once you have the config file ready, create database schema and seed it -with initial data: +You have the config file ready and the data volumes mapped. It's time to set up +the database. + +Start PostgreSQL container (skip this if you use existing PostgreSQL server): + + docker-compose up -d postgres + +Create database schema and seed it with initial data: docker-compose run --rm web bundle exec rake db:setup