smallqiang aefe2c86fe 修改配置表 5 年之前
..
doc a78dab04e7 添加相关文件 6 年之前
excel d1db58e82e 修改了明星名字 5 年之前
original_excel a78dab04e7 添加相关文件 6 年之前
sheet aefe2c86fe 修改配置表 5 年之前
.gitignore a78dab04e7 添加相关文件 6 年之前
README.md a78dab04e7 添加相关文件 6 年之前
build.bat a78dab04e7 添加相关文件 6 年之前
config.js 7f21d09c3e 修改正式环境dbname 5 年之前
index.html a78dab04e7 添加相关文件 6 年之前
index.js a78dab04e7 添加相关文件 6 年之前
local.js 694a36fcaf 修改配置js 6 年之前
mongo.js a255170935 配置正式环境mongo集群 5 年之前
package-lock.json 0d00255117 添加cross-env依赖 5 年之前
package.json 0d00255117 添加cross-env依赖 5 年之前

README.md

生成配置表工具

  • 根据Excel文件生成对应的 Js/assets/scripts/data/ 目录以供客户端调用,对应的 Js 文件名为 Excel 文件名去掉 Redis 前缀后的内容,如 allstar_buildingInfo.xlsx -> buildingInfo.js

  • 同时把生成的 Json 数据同步到 Redis 对应以文件名命名的 Key,如 allstar_buildingInfo.xlsx -> allstar:buildingInfo

执行命令

$ npm install

$ npm run dev