Merge branch 'Robaum-0.4.0' into 0.4.0

This commit is contained in:
Liran Tal
2015-07-11 01:00:12 +03:00
5 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
FROM dockerfile/nodejs
FROM node:0.10
MAINTAINER Matthias Luebken, matthias@catalyst-zero.com
@@ -20,7 +20,7 @@ RUN bower install --config.interactive=false --allow-root
# Make everything available for start
ADD . /home/mean
# currently only works for development
# Set development environment as default
ENV NODE_ENV development
# Port 3000 for server

View File

@@ -101,12 +101,12 @@ $ grunt test:client
## Development and deployment With Docker
* Install [Docker](http://www.docker.com/)
* Install [Fig](https://github.com/orchardup/fig)
* Install [Docker](https://docs.docker.com/installation/#installation)
* Install [Compose](https://docs.docker.com/compose/install/)
* Local development and testing with fig:
* Local development and testing with compose:
```bash
$ fig up
$ docker-compose up
```
* Local development and testing with just Docker:

View File

@@ -2,7 +2,7 @@
module.exports = {
db: {
uri: 'mongodb://localhost/mean-test',
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-test',
options: {
user: '',
pass: ''

4
config/env/test.js vendored
View File

@@ -2,13 +2,13 @@
module.exports = {
db: {
uri: 'mongodb://localhost/mean-test',
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-test',
options: {
user: '',
pass: ''
}
},
port: 3001,
port: process.env.PORT || 3001,
app: {
title: 'MEAN.JS - Test Environment'
},