Skip to content

How to have multiple env? #35

Answered by agordn52
jeremyhalin asked this question in Q&A
Discussion options

You must be logged in to vote

An easy way would be to have separate environment files i.e .env.developing, .env.production and so on...
Then, replace the .env file with all the variables from the environment you want to use.

Hope that makes sense 👍

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jeremyhalin
Comment options

@agordn52
Comment options

@jeremyhalin
Comment options

@jeremyhalin
Comment options

@agordn52
Comment options

Answer selected by jeremyhalin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants