For small teams, we recommend 3-4 environments. 1 local, and 2-3 deployment environments:
production. Depending on team size, it can be beneficial to have a deployed environment for QA (staging) that has some guaruntee of being functional, while also having a deployed environment (develop) for developers to deploy to and break without consequence.
Each environment has its own
.env config file located in the top level
config directory. View on GitHub.
|Used to determine which .env file should be used.|
|Used for the meta tag |
|The name of the S3 bucket. Used only for deploys from your local machine.|
|The name of your machine's local AWS profile. Used only for deploys from your local machine.|
|See the Analytics docs for setup instructions.|
|See the Sentry docs for setup instructions.|
We recommend the following naming convention: