Skip to content

roughneck/middleman-dotenv

 
 

Repository files navigation

Middleman Dotenv

Integrates Dotenv into Middleman

Installation

gem 'middleman-dotenv', '~> 2.0'

Open your config.rb and add the following right at the top of the file

# Uses .env in the root of the project
activate :dotenv

Features / Usage Examples

# Specify environment specific .env files
configure :development do
  activate :dotenv, env: '.env.development'
end

configure :build do
  activate :dotenv, env: '.env.build'
end

Badges

Gem Version Build Status Code Quality Code Coverage

Supported Ruby Versions

This library aims to support and is tested against the following Ruby implementations:

About

Dotenv for Middleman

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 89.4%
  • Gherkin 9.1%
  • HTML 1.5%