Skip to content

jaredhanson/bootable-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootable-environment

Build Coverage Quality Dependencies

Environment initialization phase for Bootable.

Install

$ npm install bootable-environment

Usage

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.

Tests

$ npm install
$ npm test

Credits

License

The MIT License

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

About

Environment initialization phase for Bootable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published