webgme / sysml

Systems Engineering Modeling Language (SysML) domain
MIT License
22 stars 20 forks source link

Newbie Howto: Can this extension be added to an existing webgme with webgme-cli #5

Open lonniev opened 7 years ago

lonniev commented 7 years ago

Please document whether or not this DSML can be mixed into an existing webgme installation with some command like

webgme install plugin sysml webgme/sysml
brollb commented 7 years ago

close. This should do the trick:

webgme import plugin sysml webgme/sysml
lonniev commented 7 years ago

import not install. Ok.

webgme-cli should complain when given a command it doesn't understand. Although it does nothing with the "install" request, it doesn't complain either and so one wonders if it did anything or not.

Now, webgme/sysml doesn't expose a plugin named "sysml" and so this slightly more exciting phrase does something but then fails in the end.

Then, if I try:

webgme import plugin SysMLImporter webgme/sysml

I do get a successful command execution. However, I then don't see evidence of the new importer in a new blank project.

It's all due to stupid pilot errors but some kickstart jumpstart howto documentation would be good.

(Videos are sweet but sometimes some concise and expressive text makes the point more quickly.)

brollb commented 7 years ago

Yeah, I agree about the howto docs.

The plugin (and originating project) will be in node_modules/ and the webgme config will be automatically updated so the server knows where to find the imported plugin. This info is recorded in webgme-setup.json (though it is not intended to be hand-edited).

Good point on the failing silently on invalid "install" command. I made an issue for it here