node.js - Using custom Machinepack in treeline.io -


i'm testing beta of treeline.io, firstly it's awesome.

secondly, i'm struggling how add custom machinepack. have 1 need that's specific application i'm testing doesn't make sense add npm/github.

now if sails app manually add api/machines, get's overwritten locally whenever restart treeline.io application.

now have option of creating new machine directly on treeline.io, can't sync locally edit it, or @ underlying code of machinepack (i know that's kinda point, still going need custom things).

perfectly possible isn't quite there yet given beta nature of things, wanted check wasn't missing something!

thanks

gareth

although treeline creates sails.js apps you, goal never have touch generated code. need do, should able in treeline using either existing machine or 1 create yourself.

if specific functionality need doesn't exist in twitter pack, practice create custom circuit using combination of sendhttprequest machine http pack, , parse json machine util pack. we'll introduce system can contribute machine twitter pack within treeline (like doing pull request on github).

at least, should able create new function machine contains javascript code want. function machines can use dependencies npm.

if create new top-level machinepack within treeline, installable else in system (at least until private projects/packs introduced). if think custom machines specific enough not useful others, can add them directly app instead.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -