FIS receiver in node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
package.json
server.js

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/'
  })
})