From e0c0425d219d9ab31337af8bdb1e917d44b1f285 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 19 Feb 2023 10:06:52 +0100 Subject: [PATCH] Add development guide (#1722) --- DEVELOPMENT.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 DEVELOPMENT.md diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 000000000..904781524 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,25 @@ +# 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