janbuchar/Deployer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
usage: Deployer.py [-h] [-d] [-g] [-c CONFIGFILE] [-s SECTION] [-y] [-q] [-l] [-a HOST] [-u USERNAME] [-p PASSWORD] [-i IGNORE [IGNORE ...]] [--path PATH] Deploy web applications to an FTP server optional arguments: -h, --help show this help message and exit -d, --dry-run Perform a check without changing the files at the destination -g, --generate-objects Generate a local copy of the objects file -c CONFIGFILE, --config-file CONFIGFILE The name of the (optional) configuration file (defaults to deploy.json) -s SECTION, --section SECTION The section of a configuration file to read from -y, --yes Apply changes without confirmation (Use reasonably) -q, --quiet Process the script quietly, without any output -l, --no-logging Don't log anything on the server -a HOST, --address HOST FTP server address -u USERNAME, --username USERNAME FTP server username -p PASSWORD, --password PASSWORD FTP server password -i IGNORE [IGNORE ...], --ignore IGNORE [IGNORE ...] Ignored files/directories --path PATH Path to the root of the application on the FTP server Example deploy.json { "common": { "ignore": [ "tmp/", "log/", "*/.git/*" ] }, "production": { "host": "host.tld", "username": "user", "password": "pass", "path": "www/" }, "demo": { "host": "another.host.tld", "username": "anotheruser", "password": "anotherpass", "path": "/" } }
About
A simple FTP deployment script for web applications
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published