Add environment files to gitignore.

This commit is contained in:
Spencer Ofwiti 2021-03-19 16:53:52 +03:00
parent 156f9d1875
commit 7f3205df4d
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -47,3 +47,4 @@ Thumbs.db
# Configuration Files # Configuration Files
.env .env
src/environments/

View File

@ -36,6 +36,7 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
Environment variables are contained in the `.env` file. See `.env.example` for a template. Environment variables are contained in the `.env` file. See `.env.example` for a template.
Default environment variables are set in the `set-env.ts` file.
Once loaded they will be populated in the directory `src/environments/`. Once loaded they will be populated in the directory `src/environments/`.
It contains environment variables for development on `environment.ts` and production on `environment.prod.ts`. It contains environment variables for development on `environment.ts` and production on `environment.prod.ts`.