Deploy static HTML sites to S3 at the command line.
Project description
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
Built Distribution
Hashes for alotofeffort-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa523551e015976782ae99b80c696c3b28694fc46b0db4f1df833e9b7ee34bd6 |
|
MD5 | 4846d41a97dba9fb42a6d40be8771462 |
|
BLAKE2b-256 | 5b43b47413586f2e8ef839816fb1267ab73b1b030f73e2d26f67e7f8a37fe9b5 |