Skip to content

Create documentation for .env file #114

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

Merged
merged 8 commits into from
Jul 13, 2023
Merged

Create documentation for .env file #114

merged 8 commits into from
Jul 13, 2023

Conversation

sydneysugar
Copy link
Contributor

Internal Notes for Reviewers

Created documentation for storing credentials in a .env file, since the 'before you begin' section updates for this pull request use inline credentials. Once this PR is approved, the notebooks need to be updated to link to the new documentation.

External Release Notes

New documentation for storing project credentials in a '.env' file. This documentation explains how to modify notebooks to do this and why it is a best practice for security.

@sydneysugar sydneysugar added the documentation Improvements or additions to documentation label Jul 11, 2023
Copy link
Contributor

@johnwalz97 johnwalz97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Left one suggestion to the instructions that add a bit more clarity there. Let me know if that makes sense

Co-authored-by: John Halz <johnwalz97@gmail.com>
@sydneysugar
Copy link
Contributor Author

Looks great. Left one suggestion to the instructions that add a bit more clarity there. Let me know if that makes sense

@johnwalz97 Makes sense, I think it makes the instructions more clear. Thanks for your help!

Copy link
Collaborator

@nrichers nrichers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another great PR from you, thank you! 🚀 I left some minor comments for you.

%load_ext dotenv
%dotenv dev.env
\```

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it maybe make sense to add an example that shows what the completed notebook snippet looks like? This way, people have more of an example they can compare their own to. I think we could likely just grab something from the earlier version of John's notebook.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the snippet from this notebook as an example: https://docs.validmind.ai/notebooks/how_to/implementing_custom_tests.html

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, that looks good.

Copy link
Collaborator

@nrichers nrichers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you so much, @sydneysugar!

@sydneysugar sydneysugar merged commit a2cacb5 into main Jul 13, 2023
@sydneysugar sydneysugar deleted the env-file-doc branch July 13, 2023 23:14
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants