monorepo

module
v0.0.0-...-4de1205 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: GPL-3.0

README

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL