From 17737a92adccc39cd07745709391e91b5ef3e2f8 Mon Sep 17 00:00:00 2001 From: zenkraker <44246878+zenkraker@users.noreply.github.com> Date: Mon, 23 May 2022 00:58:03 +0200 Subject: [PATCH] Update README.md update readme file for Unraid users, which need to run a spefic command inside the container to create their DB the first time --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index fd737530f..64ff7cb11 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,25 @@ Run the following command to setup the database once Ghostfolio is running: docker-compose -f docker/docker-compose.yml exec ghostfolio yarn database:setup ``` +#### For self-hosted environment (e.g Unraid/portainer) + +1) Run the ghostfolio container +2) Open the container cli +3) Enter the following command ONLY the first time to create the database and relative tables. + +```bash +yarn database:migrate +``` +migrate perform ONLY the creation of DB and tables + +OR + +```bash +yarn database:setup +``` + +performs the creation of DB and tables AND add basic data (for demo/dev purposes) + ### b. Build and run environment Run the following commands to build and start the Docker images: