2014-07-16 23:51:48 +02:00
|
|
|
# Terraform Website
|
|
|
|
|
2016-10-31 23:36:33 +01:00
|
|
|
This subdirectory contains the entire source for the [Terraform Website](https://www.terraform.io/).
|
2014-07-16 23:51:48 +02:00
|
|
|
This is a [Middleman](http://middlemanapp.com) project, which builds a static
|
|
|
|
site from these source files.
|
|
|
|
|
2016-10-31 23:36:33 +01:00
|
|
|
## Contributions Welcome!
|
2014-07-16 23:51:48 +02: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.
|
|
|
|
|
|
|
|
## Running the Site Locally
|
|
|
|
|
2016-10-31 23:36:33 +01:00
|
|
|
To run the site locally, clone this repository and run:
|
2014-07-16 23:51:48 +02:00
|
|
|
|
2016-10-31 23:36:33 +01:00
|
|
|
```shell
|
|
|
|
$ make website
|
|
|
|
```
|
|
|
|
|
|
|
|
You must have Docker installed for this to work.
|
|
|
|
|
|
|
|
Alternatively, you can manually run the website like this:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ bundle
|
|
|
|
$ bundle exec middleman server
|
|
|
|
```
|
|
|
|
|
|
|
|
Then open up `http://localhost:4567`.
|