Welcome Guest, Not a member yet? Register   Sign In
One .env File for Development and Production
#4

Looks like problem is that you don't fully understand how env file and logic works.

You have to repos / systems: staging and prod
Both has the "same" files commited through (or copied over - doesn't matter)

Both systems will use `.env` file - so this means that your own defined variables in those files MUST match (except ones that override system's config variables - that on your own)


Your own example should be like:

Production:
aws.user=abc
aws.password=sss

Staging:
aws.user=tyuhd
aws.password=kruryu
Reply


Messages In This Thread
RE: One .env File for Development and Production - by davis.lasis - 04-16-2021, 01:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB