Skip to main content

Deploy static HTML sites to S3 at the command line.

Project description

https://badge.fury.io/py/alotofeffort.png https://travis-ci.org/audreyr/alotofeffort.png?branch=master

Instantly deploy static HTML sites to S3 at the command line.

I created this out of frustration, after spending a lot of effort trying to find a PyPI package that did this without problems.

Documentation

The full documentation is at http://alotofeffort.rtfd.org.

Quickstart

Install it:

pip install alotofeffort

Configure Boto the standard way in ~/.boto:

[Credentials]
aws_access_key_id = ...
aws_secret_access_key = ...

Then use it to deploy a static HTML website to an S3 bucket:

$ alotofeffort www/ mybucket

Features

  • Uses standard Boto configuration.

  • Prints the S3 endpoint URL after deploying.

  • Auto-configures the bucket to be a website, with all files public.

  • Only files that have changed get uploaded. Files are checked for changes by comparing the local and remote MD5 hashes of the files.

  • Never auto-deletes. In fact, it doesn’t delete files at all! (In the future, it will check if any files need to be deleted from S3, and prompt you before deleting anything.)

History

0.4.0 (2015-09-15)

  • Upgraded boto to 2.38.0.

  • Added tox envs for Python 3.3, 3.4, 3.5.

  • PEP 8 cleanup.

  • README cleanup.

  • Improvements to setup.py.

0.3 (2013-07-27)

  • Only files that have changed get uploaded. Files are checked for changes by comparing the local and remote MD5 hashes of the files.

0.2 (2013-07-17)

  • It works on Python 2.6 and 2.7.

0.1 (2013-07-14)

  • First release on PyPI.

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

alotofeffort-0.4.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

alotofeffort-0.4.0-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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