# Middleman HashiCorp

Middleman HashiCorp is an archived Ruby gem that extends Middleman, the static site generator, with HashiCorp-specific customizations for building static websites. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6537/middleman-hashicorp

## Description

Middleman HashiCorp is an archived Ruby gem that extends Middleman, the static site generator, with HashiCorp-specific customizations for building static websites.

## Platform availability

Available on 0 of 10 platforms.

## Health score

31/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 33 (43 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 95 (no serious findings, CI, tests)

## Links

- Docker Hub: https://hub.docker.com/r/hashicorp/middleman-hashicorp
- GitHub: https://github.com/hashicorp/middleman-hashicorp

## Common questions

### How do I enable HashiCorp’s Middleman customizations in an existing Middleman project?

Add gem 'middleman-hashicorp', github: 'hashicorp/middleman-hashicorp' to your Gemfile, run bundle, and add activate :hashicorp to your config.rb.

### Which options can I set when activating the HashiCorp Middleman extension?

You can set h.name, h.version, h.github_slug, h.releases_enabled, and h.minify_javascript in the activate :hashicorp block.

### What happens to assets during a build with the HashiCorp customization?

During build, CSS, JavaScript, and HTML are minified; assets are hashed; and gzipped assets are also created.

### Where should I keep pages and content so changes are not lost?

Keep real files in source/ and let the build step create files in build/. Editing build/ directly can make changes disappear when the site is rebuilt.

---
Source: Our Local Host (https://ourlocalhost.com/app/6537/middleman-hashicorp), the self-hosted and open-source app directory.
