Skip to content

Pip package to extract environments Django Projects from settings.py to .env file

License

Notifications You must be signed in to change notification settings

thiagonf/env-automatically

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extract Env

This project was created to solve the recurring problem of adding an environment variable to the settings.py with python-decouple while not adding the same variable to the .env file. It reads the settings.py file and then creates the .env file with all environment variables already set.

How to install

pip install env-automatically

How to use

1 - Go to the Django project folder where settings.py is.

2 - Run command:

env-automatically .

3 - The file .env will be created in the same folder of settings.py.

About

Pip package to extract environments Django Projects from settings.py to .env file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages