Skip to content

Commit 2cfe188

Browse files
authored
TTA-53-update-env-variables-info-in-time-tracker-ui-readme (#894)
* add information about how to set up de env dev * remove unused env variables files * update readme about how to set the env variables * update readme Co-authored-by: Nicole Garcia <nicolsss>
1 parent 36c59ce commit 2cfe188

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
.dev.env filter=git-crypt diff=git-crypt
22
.env filter=git-crypt diff=git-crypt
3-
src/environments/.keys.json filter=git-crypt diff=git-crypt
4-
src/environments/keys.ts filter=git-crypt diff=git-crypt

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ Yo have 2 ways to run this project in dev mode:
8585
- In your project path, open your favourite command line and run the follwing commands: `make build` then `make run` and finally `make logs`. When the project is successfully compiled you can go to `http://localhost:4200/` in your browser. Remember you must have your Docker running.
8686

8787
**Second**:
88+
89+
note: If you're on windows, use para bash to set up the environment.
90+
- Set the environment variables executing the following commands:
91+
```bash
92+
set -a
93+
source .env
94+
set +a
95+
```
8896
- Run `ng serve` to run the app in dev mode. After executing this command, you can navigate to `http://localhost:4200/` to see the app working. This method is usefull when you want to run a specific branch using less time but not recommended when doing QA.
8997

9098
In any case, the app will automatically reload if you change anything in the source files.

src/environments/.keys.json

-248 Bytes
Binary file not shown.

src/environments/keys.ts

-591 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)