packer-cn/website
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:

* we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
* we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
* the hcl2 generated code asks for a string, so this will be enforced by default.
2019-10-31 16:12:07 +01:00
..
data add kms_key_id to block device docs 2018-01-12 14:48:18 -08:00
deploy pin github and netlify providers 2019-05-09 14:21:26 -04:00
source Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
Gemfile website: Update middleman-hashicorp and Gemfile.lock 2019-08-21 16:33:32 -07:00
Gemfile.lock website: Update middleman-hashicorp and Gemfile.lock 2019-08-21 16:33:32 -07:00
LICENSE.md Update license 2017-03-08 11:39:39 -08:00
Makefile switch to netlify deployment 2018-09-19 12:17:28 -07:00
README.md add docker install 🐳 2017-05-09 11:49:02 -07:00
config.rb cut v1.4.4 2019-10-01 11:10:11 -07:00

README.md

Packer Website

This subdirectory contains the entire source for the Packer Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

  1. Install Docker if you have not already done so
  2. Clone this repo and run make website

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).