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

Feature Proposal:Provide deploy to IBM Cloud instructions at point of setting up node.js app as pre-populated copy paste commands #2038

Closed
cloudwheels opened this issue Nov 16, 2018 · 4 comments

Comments

@cloudwheels
Copy link

cloudwheels commented Nov 16, 2018

Description / Steps to reproduce / Feature proposal

Please see my comments in issue #2033

To boil those down into a feature proposal:
Add command or flags to CLI prompting for IBM cloud credentials (user, pass, endpoint, org, space,appName) and automatically deploying ping or hello world example to the Cloud Foundry app.
Maintain command/example for future updates in CLI or IBM Cloud tools

Current Behavior

Work though examples to get started with deployment to IBM Cloud, which can be out of date or error prone.

Expected Behavior

  • (Manually) Set up Free Tier account on IBM Cloud and Cloud Foundry node.js app to get Bluemix credentials and appName.

  • [Install Node, CLI &] run lb4 [?cmd] [--?flags] from terminal.

  • Enter Bluemix credentials and Cloud Foundry node.js app name (user, pass, endpoint, org, space, appName) when prompted or as flags

  • await Hello World from Bluemix :) Or Error :(

  • Do the same with other examples...

UPDATE: explore the possibility of generating the documentation as pre-filled copy & paste commands created when the user creates a cloud foundry app.
i.e.

  • create bluemix account
  • go to cloud foundry, add a 'loopback [sample]' (ok just really a node.js sdk) app
    follow instructions about setting up and deploying your loopback app from its Getting Started page on the console
  • copy-pasta your way through the loopback specific instructions on this page into your terminal to see your first happy results.
@cloudwheels
Copy link
Author

@dhmlau FYI

@cloudwheels cloudwheels changed the title Feature Proposal: 'One click' deploy ping/hello world example to IBM Cloud Feature Proposal:Provide deploy to IBM Cloud instructions at point of setting up node.js app as pre-populated copy paste commands Nov 16, 2018
@cloudwheels
Copy link
Author

cloudwheels commented Nov 16, 2018

Changed the title to reflect what might be the simpler of the approaches mentioned above, without the need to extend the CLI, as an additional or preferable way of delivering deploy to IBM Cloud tutorial / instructions.
This also introduces loopback apps as an option for potential users arriving at cloud foundry from other origins than the loopback docs and demonstrates & promotes its 'native' integration with the technologies of its IBM overlords :) The beauty of the product is that I can use it on other platforms than IBM, but the integration with IBM should be truly beautiful. The fact that I found myself trying to dissect and hack quickstart examples into Google cloud or Heroku because they didn't work on IBM is not great for the product.

@stale
Copy link

stale bot commented Nov 11, 2019

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Nov 11, 2019
@stale
Copy link

stale bot commented Dec 11, 2019

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants