Skip to content

MuxiKeStack/manage_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

manage_script

Scripts for MuxiKeStack.

  • history_course:云课堂课程
  • using_course:选课手册课程

课程导入

每学期选课手册公布时,运维人员执行脚本,手动导入选课手册的课程和云课堂的课程

环境变量

export MUXIKSTACK_DB_ADDR=127.0.0.1:3306
export MUXIKSTACK_DB_USERNAME=root
export MUXIKSTACK_DB_PASSWORD=root

导入选课手册

导入选课手册要先将Excel文件移动至using_course目录下,然后在using_course目录下执行

go run main.go -file sample.xlsx

导入云课堂课程

同样,进入history_course目录,运行go文件

go run main.go

About

Scripts for MuxiKStack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages