-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Sakamoto, Kazunori <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,43 @@ | |
[![Test](https://github.com/exKAZUu-Research/trace-dojo/actions/workflows/test.yml/badge.svg)](https://github.com/exKAZUu-Research/trace-dojo/actions/workflows/test.yml) | ||
|
||
An educational web app for training program tracing skills. | ||
|
||
## Getting Started | ||
|
||
### Installation | ||
|
||
1. Clone the repo | ||
|
||
``` | ||
git clone [email protected]:exKAZUu-Research/trace-dojo.git | ||
``` | ||
|
||
1. Install dependencies | ||
|
||
``` | ||
yarn install | ||
``` | ||
|
||
1. Reset local database by applying migration files and adding initial records | ||
|
||
``` | ||
yarn db-reset | ||
``` | ||
|
||
### Start Development | ||
|
||
1. Start Next server | ||
|
||
``` | ||
yarn start | ||
``` | ||
|
||
### Change Database Schema | ||
|
||
1. Change `prisma/schema.prisma` | ||
|
||
1. Create migration files on the basis of `prisma/schema.prisma` | ||
|
||
``` | ||
yarn db-migrate-create | ||
``` |