inspec/www
Dominik Richter f5c7b34c5d Merge pull request #1368 from chef/chris-rock/serverspec-migration
add guidance for Serverspec migration
2016-12-21 16:30:14 +01:00
..
data add guidance for Serverspec migration 2016-12-15 18:14:05 +01:00
lib introduce separate nav for docs in www/ 2016-09-26 06:21:05 +02:00
source Fix Learn Chef tutorial link 2016-12-16 16:27:35 -05:00
tutorial Adds junit to the inspec help exec 2016-11-30 01:17:44 -06:00
.gitignore rake to render all docs to www/ correctly with links 2016-09-26 06:21:05 +02:00
config.rb switch to redcarpet for rendering 2016-09-26 06:21:05 +02:00
config.ru Fixup rubocop violation in www/ 2016-09-13 15:11:48 +01:00
Gemfile switch to redcarpet for rendering 2016-09-26 06:21:05 +02:00
Gemfile.lock switch to redcarpet for rendering 2016-09-26 06:21:05 +02:00
README.md update www readme for releasing the site 2016-09-26 12:05:25 +02:00

InSpec homepage

Development

Get all dependencies:

bundle install

To run it live run:

bundle exec middleman server

For the online tutorial, take a look at www/tutorial.

Building

To build the site to a local static folder (without tutorial):

bundle exec middleman build

To build everything including the online tutorial:

bundle exec rake www:build

Releasing

To build everything and push a new version of the website, run this command:

bundle exec rake www

It will clear everything and build from scratch and create a local gh-pages branch with a static version of the website. Before pushing, it will ask you if you are happy with it.

Please verify the site now! To host the current folder you can run:

ruby -run -e httpd . -p 8000

Open your browser to localhost:8000.

If you are happy, you can confirm the site and let the release task push it live.