Skip to content

Flask-restful back end of the StudyInCao project for ZJU RE&SME courses

Notifications You must be signed in to change notification settings

JouleYuan/StudyInCao

Repository files navigation

StudyInCao - Back End

This is a flask-restful back end of the StudyInCao project for ZJU RE&SME courses.

Build

Install the required dependencies.

pip install -r requirements.txt

Create database studyincao and execute the database.sql file in mysql.

CREAT DATABASE studyincao;
SOURCE studyincao.sql;

Create your own directory to store uploaded files. The file directory is shown as followed.

file
├── avatar
│   ├── course
│   ├── student
│   └── teacher
├── homework
└── resource

Run

If you are to run this on Linux Server, input the following in the shell.

gunicorn app:app -c gunicorn.conf.py --daemon

If you are to run this on Windows, you can run this back end by running app.py.

About

Flask-restful back end of the StudyInCao project for ZJU RE&SME courses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages