Setting Up a .env File (Optional)
This step is optional but recommended for convenience.
A .env
file can help you manage environment-specific variables more efficiently, without hardcoding sensitive information into your project files. This setup is particularly useful for differentiating between development and production environments. Here's how you can set up a .env
file in your project's root folder:
Navigate to the root directory of your project. In JupyterLab, this is typically the starting point.
Create a file named
.env
in this directory.Open the
.env
file with your preferred text editor.Add your environment-specific variables in the format
KEY=VALUE
.
Example entries for your .env
file might include:
Remember, the use of the .env
file and the inclusion of specific keys like FINTER_API_KEY
for Finter services or GitHub repository details are not mandatory but are provided to streamline your project setup and enhance security by keeping sensitive information out of your main codebase.
Last updated