/monorepo

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Welcome to kittr

Getting Started

Prerequisites

  • Docker Desktop
  • If you are on Windows, make sure that you switch your Docker Desktop to Linux containers. You won't be able to spin up the docker compose containers without it!
  • Node.js

Installation

  1. Clone the repo
https://github.com/kittrgg/monorepo.git
  1. Checkout the develop branch
git checkout develop
  1. You will need a Twitch API token to run kittr. Unfortunately, we can't provide you with one since this token is individualized. To get your Twitch token, visit your Twitch developers console and create an application token. (Feel free to use any information in the boxes. Anything should work.) Make sure you keep the Client Secret that you create in a safe place for the next step!

  2. With your token, create a .env file at the root of the project by copying the .env.example from the project and adding in your Twitch token values.

  3. Run the docker-compose to bring up the containers to your local host.

npm run dev
  1. If this is your first time developing kittr, you will need to seed your local Mongo instance at this time. To do so:
  • In the shell of your Mongo container, use npm run dev:seed.
  • If you got a message saying "Seeded correctly, let's get kittd," you are ready to go!
  1. Visit kittr at http://localhost:3000

Ports

When working locally, these ports are available:

Contributing

Contributions are encourage from junior and senior developers alike. You may check the issues on this project to find out what needs working on.

PLEASE make sure that before you attempt to make any major changes to kittr that you ask the maintainers first. There is a business vision here that you may not be privvy to. (We will try to make the long-term plans for kittr more accessible as we continue this effort.)

  1. Fork the Project

  2. Checkout the develop branch (git checkout develop)

  3. Create your Feature Branch (git checkout -b new-branch)

  4. Commit your Changes (git commit -m 'New Changes') (Please provide the maintainers with a nice commit message to state your intentions on what this commit should include!)

  5. Push to the Branch (git push origin new-branch)

  6. Open a Pull Request

    You can find an instructional video on this process here

Notes

  • Existing login credentials to get into the dashboard:
  • A few channels that you may find useful:
    • ALLKITS - Features every kit in the database (well, almost)
    • brandnewchannel - A fresh, empty channel that was just created
    • anthonyshew - A channel that features multiple managers so you can see how the dashboard changes based on the user's role in that channel