James Phillips
970bb771f9
|
8 years ago | |
---|---|---|
.. | ||
scripts | Update website metadata fixes | 9 years ago |
source | Tweaks formatting of Consul version. | 8 years ago |
Gemfile | Remove Ruby requirement from Gemfile | 9 years ago |
Gemfile.lock | add announcement banner for Consul Enterprise launch | 9 years ago |
LICENSE.md |
…
|
|
Makefile | Add makefile and update readme | 9 years ago |
README.md | Use HTTPS + www. where appropriate | 9 years ago |
Vagrantfile | website/Vagrantfile works again. | 9 years ago |
config.rb | Updates website to version 0.6.4. | 9 years ago |
config.ru | Use Rack::Protection | 9 years ago |
packer.json | Update website metadata fixes | 9 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 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.