Skip to content

Commit cf549c5

Browse files
authored
Update README.md
1 parent 5a26a30 commit cf549c5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,15 @@ Files to do this in:
1919
3. /backend/user-service
2020
4. /backend/question-service
2121
5. /backend/matching-service
22-
Consult the readme files in the service if there are further configurations needed.
22+
Then, run `node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"` twice to generate
23+
your 2 JWT token secrets. For the first one, paste it into the JWT_ACCESS_TOKEN_SECRET variable of
24+
the .env files in question-service and user-service. Then, copy the second into the
25+
JWT_REFRESH_TOKEN_SECRET of the .env file in user-service.
26+
27+
Further note: The DB_CLOUD_URI .env variable in user-service doesn't need to be filled in. A local
28+
database will be created in the mongoDB service.
2329

30+
Consult the readme files in the service if there are further configurations needed.
2431
### Running the Project
2532

2633
To run all services, execute the following command in the root directory:

0 commit comments

Comments
 (0)