well you normally ssh into the production server and create the .env file manually
Dec 20, 2016
2
Level 1
Deploying code from Github - how to deal with .env
Hi All
Any advice on how to handle the .env file when deploying to production server from github repro? It doesn't seem sensible to store the .env configuration file in the repro itself with all the sensitive passwords for DB etc in it.
How are others deploying code and then configuration files to production servers? Any and all advice welcome. In an automated way.
thanks
Tim
Level 23
Please or to participate in this conversation.