From 1a6840f1f6c0397f1ab9eac6ed45f28c73296010 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 21 Dec 2021 20:59:01 +0100 Subject: [PATCH] Fix instruction for database setup (#568) --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 161dc0ff9..0045f699b 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,14 @@ Run the following command to start the Docker images from [Docker Hub](https://h docker-compose -f docker/docker-compose.yml up ``` +#### Setup Database + +Run the following command to setup the database once Ghostfolio is running: + +```bash +docker-compose -f docker/docker-compose.yml exec ghostfolio yarn database:setup +``` + ### b. Build and run environment Run the following commands to build and start the Docker images: @@ -104,12 +112,12 @@ docker-compose -f docker/docker-compose.build.yml build docker-compose -f docker/docker-compose.build.yml up ``` -### Setup Database +#### Setup Database Run the following command to setup the database once Ghostfolio is running: ```bash -docker-compose -f docker/docker-compose-build-local.yml exec ghostfolio yarn database:setup +docker-compose -f docker/docker-compose.build.yml exec ghostfolio yarn database:setup ``` ### Fetch Historical Data