I have a ubuntu server deployed at digitalocean with gunicorn and nginx to host my django project.
Now I want to save my secret key in an env. var. . I searched in the internet and I found that I have to modify a file called .bash_profile but I don't have this file in my home directory.
What should I do?
Thx for your help and stay healthy!
.profileand.bash_profile. Both are however not ideal locations to set environment variables for a service, see my answer. – Gerald Schneider Jun 25 '20 at 09:42