Skip to content

exKAZUu-Research/trace-dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trace-dojo

Test Deploy staging

An educational web app for training program tracing skills.

Releases

Getting Started

Installation

  1. Clone the repo

    git clone git@github.com:exKAZUu-Research/trace-dojo.git
    
  2. Install dependencies

    yarn install
    
  3. Reset local database by applying migration files and adding initial records

    yarn db-reset
    

Start Development

  1. Start Next server

    yarn start
    
  2. Open lectures via the following URLs:

    The URL format is as follows. You can find parameter values from NEXT_PUBLIC_COURSE_ID_TO_LECTURE_IDS_JSON in the .env file.

    http://localhost:3000/courses/[courseId]/lectures/[lectureId]
    

Change Database Schema

  1. Change prisma/schema.prisma

  2. Create migration files on the basis of prisma/schema.prisma

    yarn db-migrate-create