/kittr

Primary LanguageTypeScriptGNU 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
  • yarn

Installation

  1. Clone the repo
git clone https://github.com/kittrgg/kittr.git
  1. Checkout the migration branch
git checkout migration
  1. Let's get your environment variables set up. Navigate in your file explorer to /scripts/createEnvironment/inputs.
  • Copy the example.env.json file to a new file called dev.env.json.
  • Provide values for TWITCH_CLIENT_ID and TWITCH_SECRET.
  1. Run yarn install.

  2. Run yarn env:dev.

  3. Run yarn dx.

  4. If this is your first time developing kittr, you will need to seed your local Mongo instance at this time. To do so, open a new shall and use yarn dx:mongo-seed. You should get a message saying "Let's get kittd."

  5. Now, run yarn dx:db-seed in that new shell, too. This takes the data from MongoDB to Postgres so you can use it for our migration.

  6. Visit kittr at http://localhost:3000

Ports

When working locally, these ports are available:

Contributing

Contributions are encouraged 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) (may no longer be in the seed...)
    • 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