Seth Vargo
b5d5af813a
|
10 years ago | |
---|---|---|
.. | ||
source | Do not underline API doc links | 10 years ago |
.buildpacks | website: bulk copy from serf | 11 years ago |
Gemfile | Use middleman-hashicorp :) | 10 years ago |
Gemfile.lock | Remove unused font file | 10 years ago |
LICENSE.md | website: fix name in license | 11 years ago |
Procfile | website: bulk copy from serf | 11 years ago |
README.md | website - how to build & deploy site | 10 years ago |
Vagrantfile | website: homepage copy and some stylesheet fixes | 11 years ago |
config.rb | Consul does not have prefixed packages (yet) | 10 years ago |
config.ru | Update config.ru to cache everything at /assets | 10 years ago |
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 the following commands:
$ bundle
$ bundle exec middleman server
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.