opentofu/website
Paul Hinze ce49dd6080 core: graph command gets -verbose and -draw-cycles
When you specify `-verbose` you'll get the whole graph of operations,
which gives a better idea of the operations terraform performs and in
what order.

The DOT graph is now generated with a small internal library instead of
simple string building. This allows us to ensure the graph generation is
as consistent as possible, among other benefits.

We set `newrank = true` in the graph, which I've found does just as good
a job organizing things visually as manually attempting to rank the nodes
based on depth.

This also fixes `-module-depth`, which was broken post-AST refector.
Modules are now expanded into subgraphs with labels and borders. We
have yet to regain the plan graphing functionality, so I removed that
from the docs for now.

Finally, if `-draw-cycles` is added, extra colored edges will be drawn
to indicate the path of any cycles detected in the graph.

A notable implementation change included here is that
{Reverse,}DepthFirstWalk has been made deterministic. (Before it was
dependent on `map` ordering.) This turned out to be unnecessary to gain
determinism in the final DOT-level implementation, but it seemed
a desirable enough of a property that I left it in.
2015-04-27 09:23:47 -05:00
..
helpers Update to middleman-hashicorp 2014-10-13 12:44:38 -04:00
source core: graph command gets -verbose and -draw-cycles 2015-04-27 09:23:47 -05:00
.buildpacks website: initial commit 2014-07-16 17:51:48 -04:00
config.rb Set base_url 2014-10-21 23:21:19 -04:00
config.ru website: initial commit 2014-07-16 17:51:48 -04:00
Gemfile Replace git:// with https:// in middleman source 2015-03-06 13:06:57 +00:00
Gemfile.lock website: update middleman dep 2015-04-02 11:29:46 -07:00
LICENSE.md website: initial commit 2014-07-16 17:51:48 -04:00
Procfile website: initial commit 2014-07-16 17:51:48 -04:00
README.md website: a change to kick deploy 2015-04-10 17:13:59 -07:00
Vagrantfile website: update Vagrantfile for grunt 2014-07-26 16:26:17 -07:00

Terraform Website

This subdirectory contains the entire source for the Terraform 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
$ bundle exec middleman server

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