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
- Initialize environment variable
cp sample.env .env
- Initialize Python environment
make init
- Enter the environment and start developing
pipenv shell
- 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