consul/website
Michael Crilly 4c8725ef63 TLS example and correcting error
The example configuration file omits TLS support in the HTTP API. This is fine, but a second example demonstrating how to enable TLS over the HTTP API is harmless and, in fact, should be default practice.

Using the format `ip:port` in the "addresses" block will cause Consul to crash on reload/start. See issue (#1727)[https://github.com/hashicorp/consul/issues/1727#issuecomment-184980751]
2016-02-17 15:24:37 +10:00
..
scripts Don't assume /bin/bash is installed on all OSes 2016-02-02 15:16:49 -08:00
source TLS example and correcting error 2016-02-17 15:24:37 +10:00
Gemfile Remove Ruby requirement from Gemfile 2016-01-13 18:04:05 -05:00
Gemfile.lock Update middleman 2016-01-13 19:19:34 -05:00
LICENSE.md website: fix name in license 2014-04-17 11:31:12 -04:00
Makefile Add makefile and update readme 2015-10-09 18:29:08 -04:00
README.md Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
Vagrantfile website/Vagrantfile works again. 2015-08-06 17:39:48 -07:00
config.rb Bumps website version to 0.6.3. 2016-01-14 19:54:55 -08:00
config.ru Use Rack::Protection 2015-07-13 12:56:46 -04:00
packer.json Don't assume /bin/bash is installed on all OSes 2016-02-02 15:16:49 -08:00

README.md

Consul Website

This subdirectory contains the entire source for the Consul 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 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).

Building Site

Building the static version of the site and running it is simple. Clone this repo and run the following commands:

$ bundle
$ bundle exec middleman build
$ foreman start

Then open up localhost:5000.

Alternately, the site can now be deployed to Heroku or Cloud Foundry.