Chat has been containerized and loads automatically as apart of docker-compose up
Chat Config overrides can be setup in chatconfig/config.json
- email, notifications, plugins, etc
Gitcoin Oauth Dummy Credentials are created when you boot up the app the first time and the fixtures run.
The fixtures can be found over at app/fixtures/oauth_application
NOTE
If you need to configure a new oauth application visit: oAuth Provider Administration an you will have to update the GitCoinSettings key in config/config.json file with the new application keys created above.
-
Create a new database named 'chat' if you haven't already,
docker-compose exec db sh -c 'createdb -U postgres chat' -
Create two new teams:
- name
Gitcoin, slug/gitcoin - name
Hackathons, slug/hackathon
- name
-
Connect to mattermost database and extract the id and set them in
app/app/.envthem
GITCOIN_HACK_CHAT_TEAM_ID=
GITCOIN_CHAT_TEAM_ID=
-
Create a new Bot Account via here Ensure the bot account has role
SYSTEM ADMIN -
Copy the token and and update
app/app/.env
CHAT_DRIVER_TOKEN=
Restart Gitcoin Web with updated env variables