bootable-environment

Environment initialization phase for Bootable.

bootable-environment

Environment initialization phase for Bootable.

$ npm install bootable-environment

Register the phase to be invoked during the application boot sequence.

app.phase(require('bootable-environment')('config/environments'));

When invoked, this phase will load an environment initialization script for the current environment (as set by NODE_ENV). As a special case, if an all.js script exists, that file will be loaded for all environments, prior to the environment-specific script itself.

$ npm install
$ npm test

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>