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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file alotofeffort-0.4.0.tar.gz.

File metadata

File hashes

Hashes for alotofeffort-0.4.0.tar.gz
Algorithm Hash digest
SHA256 068a7ae686e2a5d695caa7dc903fb17b8ab0934850c90821be40b932071af925
MD5 200d60e02b452ac846d5f0dfc1e0b6a1
BLAKE2b-256 34e91e10aea866deb2c3d70a892db3e0718f10050679561ddaaffeea84df7182

See more details on using hashes here.

File details

Details for the file alotofeffort-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alotofeffort-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d55615ce5846641eadca6844db33b3ba7f36354d308143fad68701dd4257fe10
MD5 67e471b5c1dc039df4979fb97d942765
BLAKE2b-256 9ea223063f56e4ae9e498ad290bbc66d80abd4fcfacc360907ed4b77ba7cbb13

See more details on using hashes here.

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