1 | #!/bin/bash
|
2 |
|
3 | # Make sure everything is development forever
|
4 | export NODE_ENV=development
|
5 |
|
6 | # Load environment specific environment variables
|
7 | if [ -f .env ]; then
|
8 | source .env
|
9 | fi
|
10 |
|
11 | if [ -f .env.${NODE_ENV} ]; then
|
12 | source .env.${NODE_ENV}
|
13 | fi
|
14 |
|
15 | npm install
|
16 |
|
17 | # Make sure coffee and mocha are on the path
|
18 | export PATH="node_modules/.bin:$PATH"
|