Browse Source

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
pull/943/head
zenkraker 3 years ago
committed by GitHub
parent
commit
17737a92ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      README.md

19
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:

Loading…
Cancel
Save