com.recsteel.upload

2.1.3 • Public • Published

com.recsteel.upload

介绍

钢回家前端上传七牛

软件架构

软件架构说明

安装教程

  1. npm install com.recsteel.upload -g
  2. 在项目根目录配置 recsteel-upload.json 样例如下
    {
    "projectConfig":{
    "saas":{
    // 正式服对象存储名
    "bucket": "jxtz-saas",
    // 正式服刷新地址
    "refreshPath": "https://jxtz-saas.recsteel.com/",
    // 正式服打包地址
    "buildDir": "/dist",
    // 正式服项目名
    "name": "嘉兴陶庄PC正式服",
    // 正式服build命令
    "buildCommand":"npm run build"
    },
    // 测试服
    "test":{
    "bucket": "jxtz-test",
    "refreshPath": "https://jxtz-test.recsteel.com/",
    "buildDir": "/dist",
    "name": "嘉兴陶庄PC测试服"
    "buildCommand":"npm run build"
    }
    },
    "qiNiuConfig":{
    "ak": "七牛ak",
    "sk": "七牛sk",
    //七牛zone 跟对象存储在华东华南之类的有关 华南z2 华东z0
    "zone": "Zone_z2"
    },
    "aLiConfig":{
    "akId": "阿里akid",
    "akSecret": "阿里akSecret",
    "ttsAppKey": "阿里tts语音合成服务的appKey"
    }
    }

使用说明

  1. recsteel-upload/ru build/upload/search test/saas/all
    build 先打包再上传
    upload 直接上传
    search 查询缓存刷新

    test 测试服
    saas 正式服
    all 全部
    最新样例json在包的根目录

Readme

Keywords

none

Package Sidebar

Install

npm i com.recsteel.upload

Weekly Downloads

18

Version

2.1.3

License

ISC

Unpacked Size

342 kB

Total Files

27

Last publish

Collaborators

  • zmzmzm