Watch 2 Star 1 Fork 1

wangweianger / node-receiverJavaScript

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
node.js 测试服 服务端http接收文件 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

receiver

FIS receiver on node.js

use

$ git clone https://github.com/fex-team/receiver.git
$ cd receiver
$ npm install
$ node server.js # default port 8999, use `node server.js <port>` change port

fis-conf.js

fis.config.merge({
    deploy: {
        remote: {
            receiver: 'http://<host>:8999/receiver',
            from: '/public',
            //远端目录
            to: '/home/fis/www/'
        }
    }
});

fis3 中配置方式。

fis.match('*', {
  deploy: fis.plugin('http-push', {
    receiver: 'http://<host>:8999/receiver',
    //远端目录
    to: '/home/fis/www/'
  })
})

Comments ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/truemaker/node-receiver.git
git@gitee.com:truemaker/node-receiver.git
truemaker
node-receiver
node-receiver
master

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542