Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions documentation/3.2.0/native/MentorEd-Setup-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,12 @@ Set the following environment variables to connect MentorED's Chat Communication
- **Ubuntu/Linux**

```
cd mentoring/src && pm2 start app.js -i 2 --name mentored-mentoring && cd ../.. && \
cd user/src && pm2 start app.js -i 2 --name mentored-user && cd ../.. && \
cd notification/src && pm2 start app.js -i 2 --name mentored-notification && cd ../.. && \
cd interface-service/src && pm2 start app.js -i 2 --name mentored-interface && cd ../.. && \
cd scheduler/src && pm2 start app.js -i 2 --name mentored-scheduler && cd ../.. && \
cd chat-communications/src && pm2 start app.js -i 2 --name mentored-communications && cd ../..
cd mentoring/src && pm2 start app.js -i 1 --name mentored-mentoring && cd ../.. && \
cd user/src && pm2 start app.js -i 1 --name mentored-user && cd ../.. && \
cd notification/src && pm2 start app.js -i 1 --name mentored-notification && cd ../.. && \
cd interface-service/src && pm2 start app.js -i 1 --name mentored-interface && cd ../.. && \
cd scheduler/src && pm2 start app.js -i 1 --name mentored-scheduler && cd ../.. && \
cd chat-communications/src && pm2 start app.js -i 1 --name mentored-communications && cd ../..
```

- **MacOS**
Expand Down
3 changes: 2 additions & 1 deletion documentation/3.2.0/native/envs/mentoring_env
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ COMMUNICATION_SERVICE_HOST="http://localhost:3123"
ENABLE_CHAT=true
PORTAL_BASE_URL="https://dev.elevate-mentoring.shikshalokam.org"
EVENTS_TOPIC="userCreate" # Ensure this matches the User Service configuration

[email protected]
EMAIL_SERVICE=smpt
2 changes: 2 additions & 0 deletions documentation/3.2.0/native/envs/notification_env
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ KAFKA_HOST=localhost:9092
KAFKA_TOPIC=develop.notifications
SENDGRID_API_KEY=asd9f87a
[email protected]
[email protected]
EMAIL_SERVICE=smpt
1 change: 1 addition & 0 deletions documentation/3.2.0/native/envs/user_env
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ SCHEDULER_SERVICE_HOST=http://localhost:3569
SCHEDULER_SERVICE_URL=http://localhost:3569/jobs/scheduleJob
SIGNED_URL_EXPIRY_DURATION=120000
SIGNED_URL_EXPIRY_IN_SECONDS=900
ENTITY_MANAGEMENT_SERVICE_BASE_URL=http://localhost:3569
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
set -euo pipefail
Comment thread
MallanagoudaBiradar marked this conversation as resolved.

# Run commands as the postgres user
sudo -u postgres psql -p 9700 -c "CREATE USER postgres WITH ENCRYPTED PASSWORD 'postgres';"
Expand Down