46 lines
410 B
Markdown
46 lines
410 B
Markdown
# Auth0 demo
|
|
|
|
## Commands
|
|
|
|
Install vercel cli
|
|
|
|
```bash
|
|
yarn add -g vercel@latest
|
|
```
|
|
|
|
Link to vercel
|
|
|
|
```bash
|
|
yarn vercel:link
|
|
```
|
|
|
|
Pull env variables from vercel
|
|
|
|
```bash
|
|
yarn vercel:env
|
|
```
|
|
|
|
Push Prisma schema to vercel
|
|
|
|
```bash
|
|
yarn db:push
|
|
```
|
|
|
|
Generate Prisma client
|
|
|
|
```bash
|
|
yarn prisma:generate
|
|
```
|
|
|
|
Reset Prisma database
|
|
|
|
```bash
|
|
yarn db:reset
|
|
```
|
|
|
|
Run on Docker
|
|
|
|
```bash
|
|
docker-compose up --build
|
|
```
|