These are chat archives for deployd/deployd

18th
Dec 2014
arief nur andono
@goldalworming
Dec 18 2014 06:42
hello everybody, is deployd database schema could accessed from another framework outside deployd?
Eric Fong
@ericfong
Dec 18 2014 07:30
You mean ajax or node require by another instance or mongodb ?
arief nur andono
@goldalworming
Dec 18 2014 08:56
node.js direct to mongodb (via mongoose if possible)
Eric Fong
@ericfong
Dec 18 2014 09:31
better config deployd use external mongodb and share the same db with mongoose
arief nur andono
@goldalworming
Dec 18 2014 09:36
Eric Fong
@ericfong
Dec 18 2014 09:37
Yes. for var options = {
port: http_port,
db: {
"host": db_url.hostname,
"port": parseInt(db_url.port),
"name": db_url.pathname.slice(1),
"credentials": {
"username": db_url.auth.split(':')[0],
"password": db_url.auth.split(':')[1]
}
}
};
arief nur andono
@goldalworming
Dec 18 2014 09:41
one more think I'm very curious, does deployd use mongoose? if yes, that's possible to extract deployd mongoose schema to node-mongoose app..
Eric Fong
@ericfong
Dec 18 2014 09:42
No
n321203
@n321203
Dec 18 2014 14:05

Hi guys – has anyone tried running the latest commits with deployd.attach() on Heroku?

The example app doesn't seem to work (I think it is attaching to the wrong ports) but I haven't been able to work it out yet.