We will have three or four permanent hosting environments on cloud
Env Name | Branch name | Env file name |
---|---|---|
Local | environment.ts | |
Develop | develop | develop.environment.ts |
QA | qa | qa.environment.ts |
Staging | staging | staging.environment.ts |
Production | master | prod.environment.ts |
Variables that are present in all web apps are -
ENV_NAME
: The name of the environment name. It should match the “Env Name” column in the above tableENV_VERSION
: The version number of the app.DATABASE_CONNECTION_STRING
: The API URL of the backendHOSTING_ROOT
: The root URL on which the api client is hosted.SENTRY_DSN
: The DSN of Sentry. More about in Art of Logging