Installation
It is already setup set up through docker-compose.yml of the project distribution package, the service named rocketchat and its dependencies mongo and mongo-init-replica.
After you start your docker containers, you should be able to access rocket Rocket chat through this URL: http://localhost:3000/
Admin registration / first startup
Open this URL: http://localhost:3000/ in your browser, you will see the form step wizard with 4 steps
In step #1: please make sure to use the real email account for Organization Email because Rocket Chat will do background verification. If you use a fake email, your registration will failedfail. This email can be changed afterward.
...
In step #3: please select "No" for Auto opt-in new users for Two Factor via email. This option can be changed afterwards afterward as well.
...
Configuration for OpenRehab
...
Allow user to have edit messages and delete private chat room. Search for edit-message and delete-p make sure its check under group: user
Enable Rest API security CORS. Go to General (search in Settings) → expand accordion REST Api → Enable CORS
...
Admin personal access token for Therapist and Patient service
You can find sample environment variables for both Therapist and Patient service from file .env.example. To generate access token click on admin profile thumbnail → My Account → Personal Access tokens
...
Code Block |
---|
ROCKET_CHAT_URL=http://rocketchat:3000 ROCKET_CHAT_ADMIN_USER_ID= ROCKET_CHAT_ADMIN_AUTH_TOKEN= ROCKET_CHAT_ADMIN_PASSWORD=H1V-CHAT@ADM1N |
Admin Permission to Delete ChatRooms
You can find the screenshot below of how to configure the permission
...