packer-cn/website
Sourabh Pawar 103a8a9223 Note for executing the first build on Windows
The first packer build command includes passing AWS access key and secret key as variables. On Windows, the single quotes must be replaced with double quotes or an AWS error occurs. This may not be obvious to everyone, hence a note. The AWS error (as below) is not adequately self-explanatory. 

Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
2016-08-21 15:04:05 -04:00
..
scripts Update website push script to fix metadata 2016-04-12 20:12:15 +01:00
source Note for executing the first build on Windows 2016-08-21 15:04:05 -04:00
Gemfile Remove breadcrumbs (causes crash and wasn't being used) 2016-01-24 13:11:51 -05:00
Gemfile.lock Remove breadcrumbs (causes crash and wasn't being used) 2016-01-24 13:11:51 -05:00
Makefile Find markdown files with short suffix (#3525) 2016-05-11 02:30:57 -07:00
README.md Docs cleanup 2015-07-22 17:18:08 -07:00
Vagrantfile Changes box to bento/ubuntu-14.04 to support VMWare. 2015-11-17 09:26:07 +01:00
config.rb Updated website version 2016-05-07 00:32:13 -07:00
config.ru sidebar 2015-11-12 16:27:48 -08:00
packer.json Update website push script to fix metadata 2016-04-12 20:12:15 +01: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

Running the site locally is simple. Clone this repo and run the following commands:

make dev

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

Keeping Tidy

To keep the source code nicely formatted, there is a make format target. This runs htmlbeautify and pandoc to reformat the source code so it's nicely formatted.

make format

Note that you will need to install pandoc yourself. make format will skip it if you don't have it installed.