#./CONTRIBUTING.md
- Fork the repository.https://github.com/irregularchat/matrix-to-discourse/tree/main
- Request access to the maubot dashboard. https://matrix.irregularchat.com/_matrix/maubot
- Read the ROADMAP.md to understand the current status of the project and the planned features.
- Request api access for Discourse and OpenAI from sac.
git clone the forked repository you made earlier.
python3 -m venv env # Create the virtual environment
source env/bin/activate # Activate the virtual environment (on Linux/Mac)
python3 -m pip install -r requirements.txt
git checkout <branch-name>
- Review the code and make updates with detailed commit messages.
- Test the changes by running the bot locally.
- Push your changes to your forked repository.
- Create a pull request to the main repository.
- Make sure you have the correct branch checked out.
- Update maubot.yaml with the correct test version of the plugin.
- Create .mbp file in the root directory with the following:
# These are the current files in the repository needed to run the bot.
zip -9r matrix-to-discourse-testing.mbp bot.py maubot.yaml base-config.yaml requirements.txt
- Upload the matrix-to-discourse-testing.mbp file to the maubot dashboard, plugin section.
- Create a new instance selecting the testing version of the plugin and irregularchatbot as the bot.
- Allow testing bot only in the testing room.
!EzjSxyqeDljGcDDcFQ:irregularchat.com
- Test the bot by sending it a message in the Bot Testing room it is in.