1.1.8 • Published 5 years ago

tars-dcache v1.1.8

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

介绍

tars-dcache 模块, 是 Tars web service 的扩展,用于管理 DCache 服务。

用法

1、在 Tars web service 项目的配置文件中,找到dcacheConf.js文件,修改 enableDcache 的值为 true

module.exports = {
  enableDcache: true
}

2、安装 tars-dcache 模块

npm install tars-dcache --save

3、新建 db_cache_web 数据库, 并执行 Tars web service 项目sql文件夹下的db_cache_web.sql脚本,创建DCache web所需要的表。

CREATE DATABASE db_cache_web;
use db_cache_web;
source sql/db_cache_web.sql;

4、启动或者重启管理平台即可在管理平台看到 Dcache 管理平台的入口。

  • npm run prd //启动
  • pm2 restart tars-node-web // 重启
1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.22

5 years ago