crystal_dotenv

Dotenv as a shard for Crystal

Installation

Add this to your application's shard.yml:

dependencies:
  dotenv:
    github: feifanzhou/crystal_dotenv
    branch: master

Run shards update to install

Usage

require "dotenv"
...

Specify environment variables in a .env file.

Credits

Credits to ericboehs for the original gist