consul/website/README.md

33 lines
1.0 KiB
Markdown
Raw Normal View History

2014-09-02 16:20:37 +00:00
Consul Website
==============
2014-02-08 00:41:03 +00:00
2016-01-13 22:44:01 +00:00
This subdirectory contains the entire source for the [Consul Website](https://www.consul.io). This is a [Middleman](http://middlemanapp.com) project, which builds a static site from these source files.
2014-02-08 00:41:03 +00:00
2014-09-02 16:20:37 +00:00
Contributions Welcome!
----------------------
2014-02-08 00:41:03 +00:00
2014-09-02 16:20:37 +00:00
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.
2014-02-08 00:41:03 +00:00
2014-09-02 16:20:37 +00:00
Running the Site Locally
------------------------
2014-02-08 00:41:03 +00:00
2015-10-09 22:29:08 +00:00
Running the site locally is simple. Clone this repo and run `make dev`.
2014-02-08 00:41:03 +00:00
2014-09-02 16:20:37 +00:00
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.
2015-02-24 00:56:42 +00:00