Skip to content

About

The web backend of One Student One Chip project.

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Logo

一生一芯计划Web后端

Project Version Node Version License
GitHub Watchers GitHub Stars GitHub Forks

中文简体 | English

使用

下载仓库

$> cd your-workspaces
$> git clone git@github.com:oscc-web/ysyx-backend.git

更新依赖

运行以下命令生成数据库配置文件并自动安装/更新Node.js依赖包,其中数据库配置与OSCC-BACKEND保持一致,请联系管理员获取。

$> ./setup.sh

配置系统

根据本地开发机或远程服务器的端口占用情况,酌情修改config/config.js文件中port属性,确保与已启动服务端口不冲突即可。

运行系统

$> npm run test      // 测试后端服务各模块
$> npm run dev       // 开发环境下启动服务
$> npm run pro-start // 生产环境下启动服务(有问题)
$> npm run pro-stop  // 生产环境下停止服务

更新仓库

$> git pull

About

The web backend of One Student One Chip project.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages