-
Notifications
You must be signed in to change notification settings - Fork 44
Ensure Appsody CLI is available if user wants to use Appsody in Codewind #271
Comments
As discussed with @tobespc. Please tag accordingly |
I'll look into this |
I believe that option 1 would be our best bet for this:
The other options could be implemented if desired but displaying a message to the user upon creation of an appsody project feels like the cleanest solution. It would just be a case of deciding how and when to display this message, for project creation through the CLI as well as through the plugin. |
Suggesting to add information about requiring appsody and it's installation to the docs. As taken from: https://appsody.dev/docs/getting-started/installation Installing on macOSFollow these steps:
Installing on UbuntuFollow these steps:
Where Installing on RHELFollow these steps:
Where Installing on WindowsNote: Appsody runs only on Windows 10
Note: If you choose to extract the files using a GUI tool you may have to extract the
|
There's some ongoing design around selecting the project style when Codewind starts up. That's also a possible spot to let users know to install appsody. |
When we were initially developing the Appsody support we had a discussion around whether we a) require Appsody to be pre-installed, b) whether we install it, or c) whether we embed it in our extension, each of which has pros and cons. I was initially leaning toward b so that the cli would be available outside of the IDE as well, but after discussion we went with c - not just because of technical limitations at the time and the complexity of installing an external cli on different platforms, but because most tools work (better) this way: things work right out of the box and there's no secondary install. Although this is a different aspect, I don't see any need to change this design or have it work differently than the rest of the Appsody support. If this is something that we should be doing as a tool then it sounds like we should be doing 3. |
Just want to confirm if we are going with documenting appsody CLI as a prerequisite as suggested by @ebuckle for this release? If so, we need a doc issue for this? |
We don't have it as a prerequisite today, so IMHO and as per my previous comment it would be a big usability issue if we changed that. |
@deboer-tim for our 0.4.0 release, we plan to have the IDE display a message to the user letting them know if they can't find appsody to run and instructions on how to install. While the usability could be improved to auto install it, at least the user is notified and given information on how to get appsody to work. They aren't left with a strange error and have to go digging through the docs themselves. Are you okay with this approach for 0.4.0? |
@sghung No, if this is adding a dialog and dependency to the user flow then we need to discuss. |
@makandre Can you please advise of the next steps. Looks like there is nothing to do from a portal perspective now |
@tobespc We decided to bundle appsody with IDEs; we'll take it from here. |
Closing as bundling has been implemented |
Codewind version:
OS:
Che version:
IDE extension version:
IDE version:
Kubernetes cluster:
Description of the enhancement:
In order to enhance the IDE experience for developers using Appsody in Codewind, we are requesting via #270 for Codewind CLI to be able to invoke
appsody init
command when creating Appsody projects.This does mean
appsody
needs to be on the system path somehow. This issue is to track how we can ensure this.Proposed solution:
There are a number of ways we can go:
The text was updated successfully, but these errors were encountered: