Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
Ready to contribute? Here's how to set up brave-chat
for local development.
- Fork the
brave-chat
repo on GitHub. - Clone your fork locally:
git clone git@github.com:your_name_here/brave-chat.git
- Navigate to the recently created directory:
cd brave-chat
- Install the main dependencies:
npm install
- Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
- Set the following env variable for redux debugging purposes:
export REACT_APP_STAGE="dev"
This will allow you to inspect every state and action payload.
- Set the following env variables:
export REACT_APP_SERVER_URL=http://localhost:8000/api/v1
export REACT_APP_SOCKET_URL=ws://localhost:8000/api/v1/ws
Now you can make your changes locally.
- Commit your changes and push your branch to GitHub:
git add .
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature
- Submit a pull request through the GitHub website.
Ready to contribute? Here's how to set up brave-chat
for docs contribution.
- Fork the
brave-chat
repo on GitHub. - Clone your fork locally:
git clone git@github.com:your_name_here/brave-chat.git
- Navigate to the recently created directory:
cd brave-chat
- change directory into docs:
cd ./chat/docs
- Create a branch for your changes:
git checkout -b name-of-your-bugfix-or-feature
-
You can work on coming soon sections.
-
Commit your changes and push your branch to GitHub::
git add .
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature
- Submit a pull request through the GitHub website.
Before you submit a pull request, check that it meets these guidelines:
- The pull request should include tests, if applicable.
Thank you for helping us improve!