Browse Source
Update README.md
updated documentation for Unraid
pull/943/head
zenkraker
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
14 deletions
-
README.md
|
@ -97,24 +97,13 @@ Run the following command to setup the database once Ghostfolio is running: |
|
|
docker-compose -f docker/docker-compose.yml exec ghostfolio yarn database:setup |
|
|
docker-compose -f docker/docker-compose.yml exec ghostfolio yarn database:setup |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
#### For self-hosted environment (e.g Unraid/portainer) |
|
|
## For self-hosted environment (e.g Unraid) |
|
|
|
|
|
|
|
|
1) Run the ghostfolio container |
|
|
Please follow the guide at the following link for Unraid. |
|
|
2) Open the container cli |
|
|
|
|
|
3) Enter the following command ONLY the first time to create the database and relative tables. |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
[https://forums.unraid.net/topic/123829-support-community-applications-ghostfolio/](https://forums.unraid.net/topic/123829-support-community-applications-ghostfolio/) |
|
|
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 |
|
|
### b. Build and run environment |
|
|
|
|
|
|
|
|