This is the code for the Gruntwork website.
Gruntwork can help you get your entire infrastructure, defined as code, in about one day. You focus on your product. We'll take care of the Gruntwork.
The fastest way to launch this site is to use Docker.
git clone
this repodocker-compose up
- Go to
http://localhost:4000
to test
git clone
this repo- Install Jekyll
- Just the first time:
bundle install
- Start Jekyll server:
bundle exec jekyll serve --livereload
- Go to
http://localhost:4000
Jekyll will automatically generate an MS Word version of our terms of service at /assets/msword/gruntwork-terms.docx
using Pandoc when docker-compose up
is first run. Unfortunately, when changes are made to
/_data/terms-of-service.yml
, these changes do not automatically re-generate a new gruntwork-terms.docx
file. The
current solution is to re-run docker-compose up
.
Hopefully, in the future, Jekyll will support the ability to indicate which files should trigger which regeneration pages.
If you want to edit the styles used to generate /assets/msword/gruntwork-terms.docx
, update the styles saved in
/assets/msword/styles.docx
and re-run docker-compose up
.
To deploy the site to S3/CloudFront:
- Configure your AWS credentials as environment variables.
docker-compose run web ./push-to-s3-stage.sh
-or-docker-compose run web ./push-to-s3-prod.sh
- Built with Jekyll. This website is completely static and we use basic HTML or Markdown for everything.
- Gruntwork Terms Of Service Word Document is generated using Pandoc right after
jekyll build
when runningdocker-compose up
. - Hosted on Amazon S3, with CloudFront as a CDN. Using s3_website to automatically upload static content to S3.
- We use Bootstrap and Less.
- We're using UptimeRobot and Google Analytics for monitoring and metrics.
See LICENSE.txt.