dotenv
configuration variable loader
Install
- All systems
-
curl cmd.cat/dotenv.sh
- Debian
-
apt-get install ruby-dotenv
- Ubuntu
-
apt-get install ruby-dotenv
- Arch Linux
-
pacman -S ruby-dotenv
- Kali Linux
-
apt-get install ruby-dotenv
- Fedora
-
dnf install ruby-dotenv
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ruby-dotenv
- Raspbian
-
apt-get install ruby-dotenv
- Dockerfile
- dockerfile.run/dotenv
ruby-dotenv
configuration variable loader
Like the gem "foreman", dotenv will automagically load variables from .env, but doesn't put them in the Procfile. Instead they are accessible via ENV. Thus it can also be used when running an application manually, using the interactive console, or running a Rake task.
python3-dotenv
Get and set values in the .env file in local and production servers
Reads key value pairs from the .env file and adds them to environment. variables. It is useful to manage settings during development and in production following the 12-factor principles: http://12factor.net/ The executable is named python-dotenv