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

Create Sample to Check Environment Configuration #73

Open
DMickens opened this issue Aug 9, 2022 · 0 comments
Open

Create Sample to Check Environment Configuration #73

DMickens opened this issue Aug 9, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation or samples

Comments

@DMickens
Copy link
Collaborator

DMickens commented Aug 9, 2022

In an effort to make it as easy as possible for a consumer of the node.js package to go from nothing to having a configured environment and working driver we want to put together a sample javascript file that can be executed in node and checks for a correctly configured environment (version of node, version of the vertica-nodejs packages, version of server if able to connect, environment variables, etc.) and then try and connect and run queries. If any of these checks fail it should provide the user with information about what failed and, if we have the information, a potential reason why it failed. For something like version of node, everything may still work fine. In this case we would just print a notice that they are using a version of node not recommended, but everything still was able to work as expected

@DMickens DMickens added the documentation Improvements or additions to documentation or samples label Aug 9, 2022
@DMickens DMickens added this to the Improve Documentation milestone Aug 9, 2022
@DMickens DMickens self-assigned this Aug 9, 2022
@DMickens DMickens moved this to Todo in Vertica-nodejs 1.1.0 Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation or samples
Projects
Development

No branches or pull requests

1 participant