About 51 results
Open links in new tab
  1. What is an .env (or dotenv) file exactly? - Stack Overflow

    Jul 6, 2021 · What is an .env (or dotenv) file exactly? Asked 4 years, 7 months ago Modified 2 years, 9 months ago Viewed 36k times

  2. How to set environment variables from .env file - Stack Overflow

    Apr 7, 2017 · USERNAME=ABC PASSWORD=PASS Unlike the normal ones have export prefix so I cannot source the file directly. What's the easiest way to create a shell script that loads content from …

  3. Adding an .env file to a React project - Stack Overflow

    Sep 1, 2021 · Finally, add .env to your .gitignore file so that Git ignores it and it never ends up on GitHub. If you are using Create React App (create-react-app) then you only need step 3 and 4, but …

  4. How can I create a virtual environment with Python 3?

    Name it new-py-env.bat new-py-env.bat mkdir %1 cd %1 py -m venv env env\Scripts\activate.bat How to use it ? The script will accept the first parameter as the folder/directory name, so you can call it as. …

  5. List all environment variables from the command line

    Mar 16, 2011 · Is it possible to list all environment variables from a Windows' command prompt? Something equivalent to PowerShell's gci env: (or ls env: or dir env:).

  6. How do I use an env file with GitHub Actions? - Stack Overflow

    I have multiple environments (dev, qa, prod) and I'm using .env files to store secrets etc... Now I'm switching to GitHub Actions, and I want to use my .env files and declare them into the env sect...

  7. How to save .env file in windows? - Stack Overflow

    Steps to create .env file in Windows machine: Open a Notepad and write the credentials inside the file Click on Save option and change the file type to 'All files' Keep the file name as .env Hit Save Now …

  8. node.js - How do you load environment variables from .env and .env ...

    Aug 10, 2021 · This might look like a newbie question, but I am unable to find the way to load environment variables from both .env and .env.local files in node with dotenv. Is it even possible? …

  9. node.js - Bad Option: --env-file=./env/.env.dev - Stack Overflow

    Mar 6, 2025 · But the information it provides is wrong (Node.js does natively support --env-file, if you're using the right version) and therefore it's not actually the problem you have (which is that you aren't …

  10. How to activate a virtual env in VS Code? - Stack Overflow

    Aug 31, 2021 · I can't activate my virtual env in VS Code. I tried same code in the cmd console and it works. But it doesn't work in the VS Code terminal. This is the command I am trying to run: …