deploy-fast
v0.2.4
Published
deploy your project easily
Downloads
7
Readme
Introduction
deploy your project easily.
Install
npm i deploy-fast -g
Usage example
deploy deploy_env [-C || --config] config_file
config_file example:
{
test: {
host: 'http://127.0.0.1',
...
},
pro: {
},
...
}
deploy_env should be put into config_file first. for example, you can type deploy test or deploy pro now.
deploy_env example:
- host: FTP host, default is localhost
- user: FTP user, default is anonymous
- pass[word]: FTP password, default is anonymous@
- port: FTP port, default is 21
- dest: destination
- log: Log function, default is null
- timeOffset: Offset server time by this number of minutes, default is 0
- parallel: Number of parallel transfers, default is 3
- maxConnections: Maximum number of connections, should be greater or
API
deploy --help
Contributing
We welcome all contributions, please submit any ideas as pull requests or as a GitHub issue.
Licence
MIT