Improve upgrade guide (#780)

pull/793/head
Thomas Kaul 2 years ago committed by GitHub
parent bc117fe601
commit 3d21e2eac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -122,13 +122,11 @@ Open http://localhost:3333 in your browser and accomplish these steps:
1. Go to the _Admin Control Panel_ and click _Gather All Data_ to fetch historical data
1. Click _Sign out_ and check out the _Live Demo_
### Migrate Database
### Upgrade Version
With the following command you can keep your database schema in sync after a Ghostfolio version update:
```bash
docker-compose -f docker/docker-compose-build-local.yml exec ghostfolio yarn database:migrate
```
1. Increase the version of the `ghostfolio/ghostfolio` Docker image in `docker/docker-compose.yml`
1. Run the following command to start the new Docker image: `docker-compose -f docker/docker-compose.yml up -d`
1. Then, run the following command to keep your database schema in sync: `docker-compose -f docker/docker-compose.yml exec ghostfolio yarn database:migrate`
## Development
@ -164,6 +162,14 @@ Run `yarn start:client`
Run `yarn start:storybook`
### Migrate Database
With the following command you can keep your database schema in sync:
```bash
yarn database:push
```
## Testing
Run `yarn test`

@ -1,7 +1,7 @@
version: '3.7'
services:
ghostfolio:
image: ghostfolio/ghostfolio
image: ghostfolio/ghostfolio:latest
env_file:
- ../.env
environment:

Loading…
Cancel
Save