Files: b46e0b142a1031b865be6f4aa908bb84a8354dc2 / server.js
356 bytesRaw
1 | const combine = require('depject') |
2 | |
3 | const configModule = require('./config') |
4 | const appModules = require('./lib/app') |
5 | const coreModules = require('./modules') |
6 | |
7 | module.exports = startServer |
8 | |
9 | function startServer ({ cwd } = {}) { |
10 | const sockets = combine( |
11 | configModule, |
12 | appModules({ cwd }), |
13 | coreModules |
14 | ) |
15 | sockets.server.start.map(s => s()) |
16 | } |
17 |
Built with git-ssb-web