mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-17 04:42:22 +01:00
The executable bit is set for a lot of files where it is not necessary to have the executable bit set. This PR removes the executable bit from those files.
21 lines
455 B
JavaScript
21 lines
455 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Module dependencies.
|
|
*/
|
|
var config = require('./config/config'),
|
|
mongoose = require('./config/lib/mongoose'),
|
|
express = require('./config/lib/express');
|
|
|
|
// Initialize mongoose
|
|
mongoose.connect(function (db) {
|
|
// Initialize express
|
|
var app = express.init(db);
|
|
|
|
// Start the app by listening on <port>
|
|
app.listen(config.port);
|
|
|
|
// Logging initialization
|
|
console.log('MEAN.JS application started on port ' + config.port);
|
|
});
|