0.1.0 • Published 4 years ago

fisd v0.1.0

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

Install

$ npm install fisd -g

要求: node > 4.x

fisd init

fisd release orp 被锁定

fisd release 成功

Usage

本地环境搭建能力

$ fisd init (初始化当前项目、安装常用包至全局)
option:
    ❌(待开发)fisd init --fe (初始化当前项目、安装常用包至全局、安装php-cgi)

通用部署能力

env 参数对应于部署环境 详见:这里

$ fisd release <env> (同fis3 release 默认发布于https环境)
option:
    fisd release (发布到本机 同fis3 release)
    fisd release orp -c (orp环境)
    fisd release orp -cw
    fisd release orp --http (发布到http环境)
    fisd release orp --remote='xxx.com:8080/xxxx.php'
    fisd release orp --port='8080'
    fisd release orp --domain='http:xxx.com'
    fisd release orp --php='receiver2.php'

操作手册

$ fisd  
option:
    fisd -h

TODO

  1. 不推送node_modules 只推送package.json 需要机器 支持 即每次推送的时候 做一个拦截 node_modules文件由机器端维护——>缩短release时间