Hello, I'm using ubuntu 20.04 droplet. I've seen many tutorials that talked me that I don't need many things to see my app run on the internet. They said that just run "pm2 start appname" and then I can see my website...
I'm now trying to deploy my app using droplet. Is that okay to put all of environment variables(i.e. dbpassword) in .env file because i'm the only one who can access to my server with ssh and passphrase?
Or is there a...
Hi there @pajaritomoyqi,
Yes, as long as the .env file is not accessible via the web it should be OK.
You just need to keep in mind that you should never add the .env file to your GitHub repository.