Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge branch 'Robaum-0.4.0' into 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Jul 10, 2015
2 parents cff3efe + 6bb5b8c commit 9e8ee9e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dockerfile/nodejs
FROM node:0.10

MAINTAINER Matthias Luebken, [email protected]

Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/env/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
Expand Down
4 changes: 2 additions & 2 deletions config/env/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
Expand Down
File renamed without changes.

0 comments on commit 9e8ee9e

Please sign in to comment.