diff --git a/bower.json b/bower.json index 33f816f090..bd268bb689 100644 --- a/bower.json +++ b/bower.json @@ -1,14 +1,14 @@ { - "name": "mean", - "version": "0.1.0", - "dependencies": { - "angular": "latest", - "angular-resource": "latest", - "angular-cookies": "latest", - "angular-mocks": "latest", - "angular-route": "latest", - "bootstrap": "2.3.2", - "angular-bootstrap": "0.7.0", - "angular-ui-utils": "0.0.4" - } -} + "name": "mean", + "version": "0.1.2", + "dependencies": { + "angular": "latest", + "angular-resource": "latest", + "angular-cookies": "latest", + "angular-mocks": "latest", + "angular-route": "latest", + "bootstrap": "2.3.2", + "angular-bootstrap": "0.7.0", + "angular-ui-utils": "0.0.4" + } +} \ No newline at end of file diff --git a/package.json b/package.json index c83d12d35f..14b8953065 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mean", "description": "MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).", - "version": "0.1.0", + "version": "0.1.2", "private": false, "author": "Amos Haviv", "repository": { diff --git a/server.js b/server.js index 183f0a5ef3..39229cf9f6 100755 --- a/server.js +++ b/server.js @@ -14,9 +14,11 @@ var express = require('express'), */ //Load configurations -//if test env, load example file -var env = process.env.NODE_ENV = process.env.NODE_ENV || 'development', - config = require('./config/config'), +//Set the node enviornment variable if not set before +process.env.NODE_ENV = process.env.NODE_ENV || 'development'; + +//Initializing system variables +var config = require('./config/config'), auth = require('./config/middlewares/authorization'), mongoose = require('mongoose');