From d24e5022a520271bb5bdaa4c4165b65c446a1f0e Mon Sep 17 00:00:00 2001 From: Benjamin Coenen Date: Wed, 29 Nov 2017 12:00:28 +0100 Subject: [PATCH] doc(api): add database creation in configuration section Signed-off-by: Benjamin Coenen --- docs/content/installation/installation.configuration.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/content/installation/installation.configuration.md b/docs/content/installation/installation.configuration.md index a4cf36ee8d..70dbb88021 100644 --- a/docs/content/installation/installation.configuration.md +++ b/docs/content/installation/installation.configuration.md @@ -28,6 +28,12 @@ Reading configuration file my_new_file.toml Configuration file OK ``` +Create your database relations + +```bash +$ $PATH_TO_CDS/engine database upgrade --db-host --db-port --db-user --db-password --db-name --migrate-dir $PATH_TO_CDS/engine/sql --limit 0 +``` + Run CDS ```bash @@ -71,4 +77,4 @@ $ vault write secret/cds/conf data=$myConfig $ $PATH_TO_CDS/engine start api --vault-addr=http://myvault.com --vault-token=XXXX Reading configuration from vault @http://myvault.com 2017/04/04 16:33:17 [NOTICE] Starting CDS server... -``` \ No newline at end of file +```