Skip to content
/ www Public
forked from rogeriopradoj/www

The source for the main hashicorp.com website.

Notifications You must be signed in to change notification settings

benzenwen/www

 
 

Repository files navigation

HashiCorp.com

This is the repository for the main HashiCorp website.

This is a Middleman project, which builds a static site from these source files. The site is hosted on Heroku and then fronted by Fastly.

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).

Stylesheets

We use Less to generate site-specific stylesheets along with Bootstrap. Grunt is used to create a watcher for changes to the .less files. The watcher re-compiles the hashicorp.css file when it detects changes in the .less files.

Assuming you have npm, node.js, and Less installed, you can install and run Grunt and the watcher this way:

$ npm install -g grunt-cli
$ npm install
$ grunt

About

The source for the main hashicorp.com website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 51.6%
  • JavaScript 27.6%
  • HTML 19.3%
  • Ruby 1.5%