Skip to main content

Python Command-line Application Tools

Project description

#presstatic

This is a little CLI utility that helps deploying static websites to Amazon S3.

##Usage

$> pip install presstatic

$> pstatic -h

usage: presstatic [-h] [-http HOST:PORT] [-s3 bucket] directory

positional arguments:
directory directory containing the static website.

optional arguments:
-h, --help show this help message and exit
-http HOST:PORT creates an HTTP Server with <directory> as root dir.
-s3 bucket deploy on the specified S3 bucket.

* upload your website:

$> pstatic -s3 example.com ~/projects/example.com

* serve your website: (the provided http server is intended for development only)

$> pstatic -http ~/projects/example.com

##TODO

* Add Template support
* Add Asset support
* Add watcher support
* Upload only modified files [DONE]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

presstatic-0.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page