Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Jan 9, 2024
1 parent c8100eb commit a2ba545
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,32 @@ An educational web app for training program tracing skills.
git clone [email protected]:exKAZUu-Research/trace-dojo.git
```

1. yarn
1. Install dependencies

```
yarn install
```

1. Create `.env`
1. Reset local database by applying migration files and adding initial records

```
cp .env.development .env
yarn db-reset
```

1. Sync database schema
### Start Development

1. Start Next server

```
npx prisma migrate dev
yarn start
```

### Start Development
### Change Database Schema

1. Start Next server
1. Change `prisma/schema.prisma`

1. Create migration files on the basis of `prisma/schema.prisma`

```
yarn start
yarn db-migrate-create
```

0 comments on commit a2ba545

Please sign in to comment.