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


Release history Release notifications

History Node

0.1.0

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
presstatic-0.0.1.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Feb 3, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page