propellantry
v0.0.7
Published
___ [![Build Status](https://travis-ci.com/anteeek/propellantry.svg?branch=master)](https://travis-ci.com/anteeek/propellantry)
Downloads
9
Readme
Ftp propellant
A very simple and basic CLI for deployment through FTP with one command.
Usage
Firstly you have to run
npm install -g propellantry
or
yarn global add propellantry
then you simply run
propel init
to be guided through making deployfile.json
You will need to make a deployfile.json
in the directory you are running the command.
It needs to contain:
- host
A string containing ftp server's hostname (along with port, if different than the default one.)
- user
and password
Strings representing credentials. If no password is needed, leave it blank
- directory
(object)
An object containing:
local
- the directory you want to deploy (from your local machine) Defaults to "." (the directory from where the command is ran)remote
- the directory you want to deploy to (on the remote machine) . Defaults to "." (the root of FTP's account)
- include
and exclude
Arrays containing names of files that you may wish to exclude/include from
the deployed files. Files excluded by default are node_modules
and .git
,
but they can be included if you wish to (use "include_git": true
and analogously "include_node_modules": true
)