Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.23 KB

README.md

File metadata and controls

68 lines (46 loc) · 1.23 KB

Senchabot Monorepo

Open source Discord & Twitch bot

Getting Started

Prerequisites

  • Git
  • Node.js 18 or higher
  • npm
  • Docker & Docker Compose

Installation

  1. Clone the repo

    git clone https://github.com/senchabot-opensource/monorepo.git
    cd monorepo
  2. Create .env files based on the example env.example files

    cp env.example .env
    cp packages/senchabot-prisma/env.example packages/senchabot-prisma/.env
    cp apps/web/env.example apps/web/.env
  3. Install the dependencies

    npm install
  4. Run turbo build

    npx turbo build
  5. Let's build up a Docker container for MySQL database

    docker-compose up --build
    # If you want to run the Docker container in the background, run this command instead of the command above:
    docker-compose up -d
  6. Let's generate Prisma files and database

    npx turbo db:generate
    npx turbo db:push

Documentations

Contributing

Contributions are always welcome! Please read the contribution guidelines first.