Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lonniev opened this issue Dec 3, 2016 · 3 comments

Comments

@lonniev
Copy link

lonniev commented Dec 3, 2016

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
Copy link

brollb commented Dec 3, 2016

close. This should do the trick:

webgme import plugin sysml webgme/sysml

@lonniev
Copy link
Author

lonniev commented Dec 3, 2016

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
Copy link

brollb commented Dec 3, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants