You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
478 B
26 lines
478 B
2 years ago
|
# Ghostfolio Development Guide
|
||
|
|
||
|
## Git
|
||
|
|
||
|
### Rebase
|
||
|
|
||
|
`git rebase -i --autosquash main`
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
### Nx
|
||
|
|
||
|
#### Upgrade
|
||
|
|
||
|
1. Run `yarn nx migrate latest`
|
||
|
1. Make sure `package.json` changes make sense and then run `yarn install`
|
||
|
1. Run `yarn nx migrate --run-migrations`
|
||
|
|
||
|
### Prisma
|
||
|
|
||
|
#### Create schema migration (local)
|
||
|
|
||
|
Run `yarn prisma migrate dev --name added_job_title`
|
||
|
|
||
|
https://www.prisma.io/docs/concepts/components/prisma-migrate#getting-started-with-prisma-migrate
|