mesg-foundation / js-sdk

Javascript mono-repo with all the tools to interact with MESG
https://mesg.com
4 stars 4 forks source link

Runner library && CLI starts engine and services with docker containers #199

Closed antho1404 closed 4 years ago

antho1404 commented 4 years ago

Dependency: https://github.com/mesg-foundation/engine/pull/1743 Fix: https://github.com/mesg-foundation/js-sdk/issues/202

This library is running a service on your local node. This will be used to start a service based on different providers.

More to come: This architecture lets open any system to start a service. We could have for example:

To test

# build engine on the dev branch
make dev
# you can stop it now as the CLI will launch it automatically
./bin/run service:dev https://github.com/mesg-foundation/service-js-function --image mesg/engine:local

Right now processes are broken (an issue with invalid unmarshal). This is because of https://github.com/mesg-foundation/engine/pull/1737 and will be fixed with https://github.com/mesg-foundation/js-sdk/issues/200

antho1404 commented 4 years ago

I integrated all the feedback, and created an issue for the cleanup command https://github.com/mesg-foundation/js-sdk/issues/204