4641978716
* New styles * Fundamental styles for home page * Legal pages * Community page, downloads page, tutorials page * Docs page * Content toggle and github badge * Add code - highlighter * Copy button * Sliding content animation * fix particle animatino on downloads page * Scroll-to-top button * docs sidebar links * innocent comments on resources * Fancy code animation * Small update to diamond * whatever slider * Slider styles * initial selection if no sliders are there * add netifly config Signed-off-by: Christoph Hartmann <chris@lollyrock.com> * inspec for provisioners * fix incorrect text on aws ssm * fix layout javascript post-rebase * resource grouping in docs * introduce groups in docs/resources * fix minor spelling issues and move download button in new features section Signed-off-by: Christoph Hartmann <chris@lollyrock.com> * pass linting Signed-off-by: Christoph Hartmann <chris@lollyrock.com> |
||
---|---|---|
.. | ||
data | ||
lib | ||
source | ||
tutorial | ||
.gitignore | ||
config.rb | ||
config.ru | ||
Gemfile | ||
Rakefile | ||
README.md |
InSpec homepage
Development
Get all dependencies:
bundle install
To build the docs/
child pages run:
bundle exec rake docs
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, be in the www folder of this repository and run:
bundle install
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.
Flushing the Fastly Cache
The www
Rake task will flush the cache at Fastly if you have the following environment variables set:
FASTLY_API_KEY
FASTLY_SERVICE_ID
These can be found in Chef's shared password manager. If these aren't set, the cache will not be flushed and will expire on its own. The cache can be flushed without doing a full website release by running rake www:flush