073a813e88
While running through the getting-started examples, I ran into a strange error: packer $ packer validate example.json Failed to parse template: Error in line 16, char 2: invalid character '"' after object key:value pair "provisioners": [{ packer $ The error was not immediately obvious, as this is my first time working with Packer, and like many users this also happens to be my first time working with JSON. Solution: I was missing a comma after the 'builders' configuration. I'm sure this is a common problem, so let's specifically mention that in the document. |
||
---|---|---|
.. | ||
source | ||
.buildpacks | ||
Gemfile | ||
Gemfile.lock | ||
Procfile | ||
README.md | ||
config.rb | ||
config.ru | ||
counter.txt |
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
Running the site locally is simple. Clone this repo and run the following commands:
$ bundle
$ PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server
Then open up localhost:4567
. Note that some URLs you may need to append
".html" to make them work (in the navigation and such).