Skip to content

Commit 1a3eeb0

Browse files
committed
msdlon
1 parent 819ec66 commit 1a3eeb0

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@
2828
"handlebars": "4.0.6",
2929
"hapi": "16.1.0",
3030
"inert": "4.1.0",
31-
"seneca": "3.3.0",
32-
"vision": "4.1.1",
33-
"seneca-repl": "1.0.0"
31+
"seneca": "../seneca",
32+
"seneca-balance-client": "../seneca-balance-client",
33+
"seneca-monitor": "../seneca-monitor",
34+
"seneca-entity": "2.0.0",
35+
"seneca-mesh": "../seneca-mesh",
36+
"seneca-repl": "1.0.0",
37+
"vision": "4.1.1"
3438
},
3539
"devDependencies": {
3640
"code": "4.0.0",

srv/web-dev-mesh.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* Copyright (c) 2014-2017 Richard Rodger and other contributors, MIT License */
2+
3+
var Seneca = require('seneca')
4+
5+
6+
// Build the frontend server using the hapi framework.
7+
var app = require('../web.js')
8+
9+
10+
Seneca({tag: 'web'})
11+
.test()
12+
.use('monitor')
13+
.use('mesh', {
14+
xbases:['127.0.0.1:39000'],
15+
xhost:'127.0.0.1',
16+
xsneeze:{silent:false}
17+
})
18+
19+
.ready(function(){
20+
var server = app({seneca: this})
21+
22+
this.log.info(server.info)
23+
})

0 commit comments

Comments
 (0)