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.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for alotofeffort-0.4.1.tar.gz
Algorithm Hash digest
SHA256 617bf8084826a3d2eb3536c665ca2cb2d97d095fe0154dca07055cf8ef0cd0c1
MD5 d53d6c245e8901ba8e7715c2062f855a
BLAKE2b-256 fb0e219e3b01e848a9114277305ebd3cc9e8cd24a27b0374efb122209b651b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alotofeffort-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa523551e015976782ae99b80c696c3b28694fc46b0db4f1df833e9b7ee34bd6
MD5 4846d41a97dba9fb42a6d40be8771462
BLAKE2b-256 5b43b47413586f2e8ef839816fb1267ab73b1b030f73e2d26f67e7f8a37fe9b5

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