Open source template for building static web sites with Prismic.io and AWS S3
1–10 of 23 posts
Re: Open source template for building static web sites with Prismic.io and AWS S3
#2I used to work in IT at a place with used this GOD-AWFUL CMS that did this similarly but was written in apparently jQuery-plugin-hell and ASP.NET Forms. The website to edit was slow (many seconds per page. In page JS actions took many seconds) and required manual deploys.
Code could not be edited outside the browser editors (PHP, JS, etc.)
So a system that publishes a static site on S3 fairly easily seems like a win to me.
Re: Open source template for building static web sites with Prismic.io and AWS S3
#3One of the problems I've run into as a writer is that … well, nearly every copy editing tool out there sucks, and the ones that didn't (Poetica, Editorially) inevitably don't have a business model and get bought out.
Re: Open source template for building static web sites with Prismic.io and AWS S3
#4Question - How well does it work if the S3 website is linked to a CloudFront CDN? Does it take care of asset versioning or URL invalidations when updates are done? That is by far the most tedious part of S3 Web + CloudFront for me. I just invalidate the whole site from top down whenever I make changes just to make sure I don't miss anything, but a more automated, granular approach would be better, and I am hoping that Prismic can assist?
Re: Open source template for building static web sites with Prismic.io and AWS S3
#5Will look into Netlify and Aerobatic next. Are there other PaaS/SaaS that makes it easy to host HTTPS static site generated from Jekyll/Hugo?
Re: Open source template for building static web sites with Prismic.io and AWS S3
#6Thinking of moving a static site to S3 + CloudFront + AWS Certificate Manager with the purpose of enabling HTTPS for the site. Seems like CloudFront does not support index document even if you've enabled it on S3 ( https://tiffanybbrown.com/2016/01/aws-certificate-manager-s3... ). You can't have URL such as https://example.com/about/ . Instead need to specifically use URL https://example.com/about/index.html . Will l…
Edit: the setting is called "Default Root Object" when setting up a CloudFront distribution with an S3 origin.
Re: Open source template for building static web sites with Prismic.io and AWS S3
#7Thinking of moving a static site to S3 + CloudFront + AWS Certificate Manager with the purpose of enabling HTTPS for the site. Seems like CloudFront does not support index document even if you've enabled it on S3 ( https://tiffanybbrown.com/2016/01/aws-certificate-manager-s3... ). You can't have URL such as https://example.com/about/ . Instead need to specifically use URL https://example.com/about/index.html . Will l…
Re: Open source template for building static web sites with Prismic.io and AWS S3
#8Don't hesitate to ask questions!
Re: Open source template for building static web sites with Prismic.io and AWS S3
#9Thinking of moving a static site to S3 + CloudFront + AWS Certificate Manager with the purpose of enabling HTTPS for the site. Seems like CloudFront does not support index document even if you've enabled it on S3 ( https://tiffanybbrown.com/2016/01/aws-certificate-manager-s3... ). You can't have URL such as https://example.com/about/ . Instead need to specifically use URL https://example.com/about/index.html . Will l…
I'm using index document paths on S3 + CloudFront right now, it's definitely possible. Unfortunately, I don't remember exactly what I did to make it work. Some more Googling might give you the answer. Edit: the setting is called "Default Root Object" when setting up a CloudFront distribution with an S3 origin.
Re: Open source template for building static web sites with Prismic.io and AWS S3
#10Thinking of moving a static site to S3 + CloudFront + AWS Certificate Manager with the purpose of enabling HTTPS for the site. Seems like CloudFront does not support index document even if you've enabled it on S3 ( https://tiffanybbrown.com/2016/01/aws-certificate-manager-s3... ). You can't have URL such as https://example.com/about/ . Instead need to specifically use URL https://example.com/about/index.html . Will l…