File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments