1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-06-27 00:51:13 +02:00

issue #27 - updated getting started to include schema migration

This commit is contained in:
Lee Brown
2020-01-18 18:39:22 -09:00
parent ab809562f8
commit 8fd24cc0b0

View File

@ -41,6 +41,7 @@ https://docs.google.com/presentation/d/1WGYqMZ-YUOaNxlZBfU4srpN8i86MU0ppWWSBb3pk
* [Installing Docker](#installing-docker) * [Installing Docker](#installing-docker)
- [Getting started](#getting-started) - [Getting started](#getting-started)
* [Video tutorials](#video-tutorials) * [Video tutorials](#video-tutorials)
* [Execute initial database migrations](#execute-initial-database-migrations)
* [Setup local environment](#setup-local-environment) * [Setup local environment](#setup-local-environment)
* [Running the project](#running-the-project) * [Running the project](#running-the-project)
* [How we run the project](#how-we-run-the-project) * [How we run the project](#how-we-run-the-project)
@ -293,6 +294,14 @@ following services will run:
- web-app - web-app
- postgres - 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 ### Running the project