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

[UX] CLI for creating datasources.json? #1062

Closed
dhmlau opened this issue Feb 28, 2018 · 2 comments
Closed

[UX] CLI for creating datasources.json? #1062

dhmlau opened this issue Feb 28, 2018 · 2 comments
Labels
developer-experience Issues affecting ease of use and overall experience of LB users needs discussion

Comments

@dhmlau
Copy link
Member

dhmlau commented Feb 28, 2018

Following the example-getting-started to create my own app, I'm trying to create a datasource.json that's connecting to a Cloudant database (it could be other kind of db).

Currently what I've done is to go back to LB3, run the command lb datasource to generate the datasources.json and copy this file back to my LB4, so that I can have a similar file like https://github.com/strongloop/loopback-next/blob/master/packages/example-getting-started/config/datasources.json.

Since we'll be using the legacy juggler as a near-term solution, can we bring this datasources.json generation experience to LB4?

cc @kjdelisle @raymondfeng

@dhmlau dhmlau added developer-experience Issues affecting ease of use and overall experience of LB users needs discussion labels Feb 28, 2018
@dhmlau
Copy link
Member Author

dhmlau commented Mar 1, 2018

or using the DataSource class is the recommended route?

@dhmlau dhmlau added the DP3 label Apr 19, 2018
@dhmlau
Copy link
Member Author

dhmlau commented Apr 23, 2018

duplicate of #1225

@dhmlau dhmlau closed this as completed Apr 23, 2018
@bajtos bajtos added the p1 label Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Issues affecting ease of use and overall experience of LB users needs discussion
Projects
None yet
Development

No branches or pull requests

2 participants