/schoolWorks

Repository of NCKU CSIE class slides,exams, and homeworks

Primary LanguageVerilogBSD 2-Clause "Simplified" LicenseBSD-2-Clause

SchoolWorks-backend

Repository of NCKU CSIE slides,exams, and homeworks

Development

Prerequisitive

Name Version
Python 3.8
pipenv(Python module) 2018.11.26 or up

Environment setup

  1. Initialize environment variable
cp sample.env .env
  1. Initialize Python environment
make init
  1. Enter the environment and start developing
pipenv shell
  1. Start development API service
cd api/
uvicorn app:APP

The server will run at http://127.0.0.1:8000

Generating files

Generate index.json and data.json

python3 generator/main.py  -P $PWD/api/static

Contribution

Read the Contributing.md