From 8fd24cc0b087c354d758f80c7298be92d60b369c Mon Sep 17 00:00:00 2001 From: Lee Brown Date: Sat, 18 Jan 2020 18:39:22 -0900 Subject: [PATCH] issue #27 - updated getting started to include schema migration --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0e8562f..d71a6f3 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ https://docs.google.com/presentation/d/1WGYqMZ-YUOaNxlZBfU4srpN8i86MU0ppWWSBb3pk * [Installing Docker](#installing-docker) - [Getting started](#getting-started) * [Video tutorials](#video-tutorials) + * [Execute initial database migrations](#execute-initial-database-migrations) * [Setup local environment](#setup-local-environment) * [Running the project](#running-the-project) * [How we run the project](#how-we-run-the-project) @@ -293,6 +294,14 @@ following services will run: - web-app - postgres +### Execute initial database migrations + +Before you can run the project, you will need to load the initial database schema. This can be run using [tools/schema](https://gitlab.com/geeks-accelerator/oss/saas-starter-kit/tree/master/tools/schema). +Refer to the [README](https://gitlab.com/geeks-accelerator/oss/saas-starter-kit/blob/master/tools/schema/README.md) for additional usage details. + +```bash +go run tools/schema/main.go migrate +``` ### Running the project