start the microservices in local machine

46 views
Skip to first unread message

Boon Pin Khor

unread,
Feb 24, 2016, 1:17:26 AM2/24/16
to Lelylan
hi all
 
 I have install all the microservices on my machine based on https://github.com/lelylan/lelylan#development   , should I start all the service in their respective folder ?

 api-proxy  devices    mqtt  nodes  people  physicals  profiles  subscriptions  types  webhooks  websockets

 thanks ! 

 

Lelylan Touch

unread,
Feb 24, 2016, 3:58:00 AM2/24/16
to lel...@googlegroups.com
Hi Boon.

Yes, at the moment you should start every service in the respective folder (we are looking for people adding vagrant/docker/ansible to make things easier). Remember to have mongodb and redis up and running.

Let me know how it goes!

--
You received this message because you are subscribed to the Google Groups "Lelylan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lelylan+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Andrea Reginato
Lelylan, Building the Connected Home
http://lelylan.com

Find me on phone +393408529726
or Skype as andrea.reginato

Boon Pin Khor

unread,
Feb 25, 2016, 8:52:45 PM2/25/16
to Lelylan

in the physical API , 

I have up the mongod services 
ps -efww | grep mongo
mongodb 10220 1 0 17:57 ? 00:00:02 /usr/bin/mongod --unixSocketPrefix=/var/run/mongodb --config /etc/mongodb.conf run

, and when run the nf start in physical API directory , I got this
[OKAY] Loaded ENV .env File as KEY=VALUE Format
[OKAY] Trimming display Output to 127 Columns
18:07:46 worker.1 | /home/nemo/physicals/node_modules/mongodb/lib/mongodb/connection/server.js:437
18:07:46 worker.1 | throw err;
18:07:46 worker.1 | ^
18:07:46 worker.1 | TypeError: Uncaught, unspecified "error" event.
18:07:46 worker.1 | at TypeError (:null:null)
18:07:46 worker.1 | at QueryStream.EventEmitter.emit (events.js:74:15)
18:07:46 worker.1 | at QueryStream.destroy (/home/nemo/physicals/node_modules/mongoose/lib/querystream.js:280:10)
18:07:46 worker.1 | at QueryStream.onNextObject (/home/nemo/physicals/node_modules/mongoose/lib/querystream.js:186:24)
18:07:46 worker.1 | at cursorcb (/home/nemo/physicals/node_modules/mongoose/lib/querystream.js:154:10)
18:07:46 worker.1 | at /home/nemo/physicals/node_modules/mongodb/lib/mongodb/cursor.js:504:39
18:07:46 worker.1 | at Cursor.close (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/cursor.js:776:5)
18:07:46 worker.1 | at [object Object].commandHandler (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/cursor.js:504:21)
18:07:46 worker.1 | at [object Object].g (events.js:180:16)
18:07:46 worker.1 | at [object Object].EventEmitter.emit (events.js:106:17)
18:07:46 worker.1 | at Db._callHandler (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/db.js:1472:25)
18:07:46 worker.1 | at /home/nemo/physicals/node_modules/mongodb/lib/mongodb/connection/server.js:430:30
18:07:46 worker.1 | at [object Object].MongoReply.parseBody (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:127:5…
18:07:46 worker.1 | at [object Object]. (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/connection/server.js:389:22)
18:07:46 worker.1 | at [object Object].EventEmitter.emit (events.js:95:17)
18:07:46 worker.1 | at [object Object]. (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:140:13)
18:07:46 worker.1 | at [object Object].EventEmitter.emit (events.js:98:17)
18:07:46 worker.1 | at Socket. (/home/nemo/physicals/node_modules/mongodb/lib/mongodb/connection/connection.js:321:22)
18:07:46 worker.1 | at Socket.EventEmitter.emit (events.js:95:17)
18:07:46 worker.1 | at Socket. (_stream_readable.js:746:14)
18:07:46 worker.1 | at Socket.EventEmitter.emit (events.js:92:17)
18:07:46 worker.1 | at emitReadable
 (_stream_readable.js:408:10)
18:07:46 worker.1 | at emitReadable (_stream_readable.js:404:5)
18:07:46 worker.1 | at readableAddChunk (_stream_readable.js:165:9)
18:07:46 worker.1 | at Socket.Readable.push (_stream_readable.js:127:10)
18:07:46 worker.1 | at TCP.onread (net.js:526:21)
[DONE] Killing all processes with signal null
18:07:46 worker.1 Exited Abnormally

Lelylan Touch

unread,
Feb 26, 2016, 10:01:23 AM2/26/16
to lel...@googlegroups.com
Hi Boon, 

may you open the issue on Github?

We are investigating

Boon Pin Khor

unread,
Feb 27, 2016, 11:34:42 AM2/27/16
to Lelylan
I have open the issue at github

Reply all
Reply to author
Forward
0 new messages