Read more on the Notion.
Take a look at the Plata project board. We run only one team meeting: the product meeting. We host meetings in gather.town. More on product dev cycle soon.
- Join planetscale team
- setup planetscale locally (read how we do db migrations with planetscale below) setup steps:
- setup PlanetScale CLI (https://github.com/planetscale/cli)
- clone repo
- create .env.local
- login through CLI:
pscale auth login
- switch to the right org:
pscale org switch plata
- run
pscale connect plata <branch:plata-dev> --port <3001>
- go to
/.env.local
file - db syntax:
mysql://root@<plata-dev's IP with port>/plata
- go to magic.link and use
plata-dev
application - fill out
NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY
andMAGIC_SECRET_KEY
listed in magic.link - for local development,
TOKEN_SECRET
can be set to anything.
- make your updates to
prisma.schema
- connect to your development branch on planetscale
npm run prismaDeployDev
- deploy db branch when ready
For now open PR, but use judgment on whether or not you need a review from someone. We're aiming to not need to do PR reviews and instead go full CI/CD
.