You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-18Lines changed: 20 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,17 @@ This project was generated using [Angular CLI](https://github.com/angular/angula
15
15
In general, you will need to have installed in your machine the following:
16
16
- Git
17
17
- Visual Studio code(most common) or your favourite editor
18
+
- GPG
19
+
- Git-crypt
20
+
21
+
###Git-crypt
22
+
23
+
You can install it by ruuning this command on linux `sudo apt-get install git-crypt`, for mac users `sudo port install git-crypt`.
24
+
IMPORTANT: Windows users must install WSL to be able to install git-crypt.
25
+
26
+
### GPG
27
+
28
+
GPG is a encryption system used to create, import, export public and private keys; you can download it from here: https://gnupg.org/download/index.html. It can only work with a command shell but for Linux users, you can choose to work with <ahref="https://apps.kde.org/kleopatra/"target="_blank">Kleopatra</a> if you feel confortable.
18
29
19
30
### Node.js
20
31
@@ -49,26 +60,17 @@ In project path, open your favourite command line and run `npm install` in order
49
60
# Prepare your environment
50
61
51
62
### Set environment variables
52
-
**1**. Create a file keys.ts in the path `src/enviroment` with the content pinned in our slack channel #time-tracker-developer:
63
+
**1**. Using GPG create your key by running this command in your favourite command shell: `gpg --generate-key`.
64
+
65
+
**2**. Export your public key into a file with this command: `gpg --export -a YOUR_REAL_NAME > public.key`.
66
+
67
+
**3**. Share your generated key file to your jr techlead.
68
+
69
+
**4**. Once your jr techlead added your key to the list, run this command: `git-crypt unlock` to decrypt your environment variables.
0 commit comments