Skip to content

Commit d2f976d

Browse files
committedAug 14, 2015
Added some startup messages.
1 parent bbe3699 commit d2f976d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
 

‎app.js

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ var app = express();
88

99
require('./config/express')(app, config);
1010

11+
console.log('Starting up on: ' + config.port);
12+
console.log(' DB: ' + config.db);
13+
1114
db.sequelize
1215
.sync()
1316
.then(function () {

‎config/config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var config = {
1818
app: {
1919
name: 'foos-tracker'
2020
},
21-
port: 3000,
21+
port: 3030,
2222
db: 'sqlite://localhost/foos-tracker-test',
2323
storage: rootPath + '/data/foos-tracker-test'
2424
},
@@ -28,9 +28,9 @@ var config = {
2828
app: {
2929
name: 'foos-tracker'
3030
},
31-
port: 3000,
31+
port: 3030,
3232
db: 'sqlite://localhost/foos-tracker-production',
33-
storage: rootPath + 'data/foos-tracker-production'
33+
storage: rootPath + '/data/foos-tracker-production'
3434
}
3535
};
3636

0 commit comments

Comments
 (0)
Please sign in to comment.