Skip to content

ShierCoding/BGsystem3-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGsystem3-server

BGsystem 是一个在电脑桌面显示课表、值日表等信息的工具。本仓库为该项目的前端代码。

技术栈

开发

在正式使用前请确保在../BGsystem3-frontend下已克隆了BGsystem3-frontend

安装依赖

pip install -r requirements.txt

打包前端代码

运行前请确保在../BGsystem3-frontend下依赖已全部安装。

inv build

根据配置文件启动服务器

inv start

启动开发服务器

inv dev

启动生产服务器

inv prod

使用

配置

./config.toml

  • default:默认配置(默认值:default.json
  • host:主机(默认值:localhost
  • port:端口(默认值:21233
  • mode:模式(默认值:development

模式

development模式下,当检测到*.py*.toml文件变动时服务器会自动重载。

production模式下,服务器不会检测任何文件变化或重载。

TODO

  • 还没想好

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages