Commands
- <user>++: Adds 1 karma to the user
- <user>--: Subtracts 1 karma from the user
- Clone the repo
git clone git@github.com:rbaxter08/KnD.git
- Install dependencies
yarn
- Setup MongoDB
- Download and install Mongodb
- Add bin folder to the path (ex. C:\Program Files\MongoDB\Server\4.0\bin)
- Add the connection string to .env file with
MONGO_CONNECTION_STRING=mongodb://localhost
- Setup Slack
- Request permissions to be added to dev workspace. This will add you as a collaborator for the slack app
- Add the bot access token to .env file with
SLACK_TOKEN=<bot_access_token>
. The access token can be found under Features > OAuth & Permissions
- Start the dev server
yarn start
- Create a new branch
git checkout -b <your_branch_name>
in the format<issue_id>-<description>
(ex. "8-hot-build") - After you have finished making your changes commit them.
git commit -m "<your_commit_message>
" - Push your changes to github
git push origin <your_branch_name>
- Create pull request
- From Github create a Pull Request from your branch into master
- Tag a reviewer
- Wait for it to be reviewed and address feedback before merging