A template for Cookiecutter for generating a landing page, ready to deploy to CloudFront.
Table of Contents generated with DocToc
Before getting started, it's easiest to already have a CloudFront distribution set up. The general steps involved are:
- Create an S3 bucket that will house the actual HTML files
- Create a CloudFront distribution that points to this S3 bucket as its source
If you don't have a domain, you can always do this later. But you'll have to modify some files manually once you create the distribution (I can add notes about this later).
Now generate the landing page:
$ pip install cookiecutter
$ cookiecutter https://github.com/b-ryan/cookiecutter-landing-page
Once you have generated your project, see the README within the project directory for details on developing and deploying.
- Uses Pelican as the static page generator. (Normally Pelican is used as / thought of as a blog generator, but it has been working well for my needs as a landing page generator.)
- Built-in cache busting
- Auto-generated development and deploy scripts.
- Bootstrap 4