Closed Bhupesh-V closed 4 years ago
OK, how about we uncomment the virtual environment variables, and direct the contributor to comment them and then generate their SECRET_KEY
?
The main goal of commented virtual environment variables was to make setting-up easier, but I guess it's OK. Better to have deployment easier than to have setting-up easier.
I will make the necessary changes in settings.py
and README
.
Already created a PR.
😅
I am saying that we remove the method for creating a KEY, instead we provide a link to the online services discussed earlier. User would then have to do 2 things.
.env
file
The SECRET_KEY which is commented by default may cause problems while deploying. I propose we uncomment that and leave to user for generating a new key. I found this online service and one more for creating secret keys.
Other settings will remain same, user will create a
.env
file & add the key and LOCAL_IP in it