consul/website
James Phillips 9caa5b3653 Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
..
source Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
.buildpacks
Gemfile Use new middleman-hashicorp 2015-05-15 16:06:10 -04:00
Gemfile.lock bundle update middleman-hashicorp 2015-10-12 18:44:58 -04:00
LICENSE.md
Makefile Add makefile and update readme 2015-10-09 18:29:08 -04:00
Procfile
README.md Add makefile and update readme 2015-10-09 18:29:08 -04:00
Vagrantfile website/Vagrantfile works again. 2015-08-06 17:39:48 -07:00
config.rb Add github_slug to website/config.rb 2015-10-12 18:43:15 -04:00
config.ru Use Rack::Protection 2015-07-13 12:56:46 -04: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.