Closed antho1404 closed 4 years ago
I really like this concept. I don't have much to add for now ;)
I agree with this concept and also it would be nice if we can have a command like mesg-cli service:import <NAME of Service>
as @antho1404 said because it easier than to find services in GitHub repo.
Please update the CHANGELOG of the associated library for your Pull Request to be accepted
A proposition to normalize all the development of apps in mesg. The idea is to have a command
dev
that will automatically deploy your processes/services based on a specific file organization.Here is an idea of an organization.
A command
dev
would read theservices
directory and compile/deploy each service. It will also deploy all the.yml
in the root of the project and inject the environment variable contained in the.env
.Note for later
With this in mind, we can also have a "service importer", the same way that you can import a library with npm with
npm install xxx
we can have a commandlink/add/install
that will download a service and put it in theservices
directory.We might add these services in a gitignore or instead copy them in a
node_module/vendor
like a directory that users will choose to version or no while still able to have their own local services in theservices
directory.