VladimirPal / dudes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dudes

Animated characters for chatters in your stream.

Run the database in docker

docker compose -f compose.dev.yaml run -d

Warning

By default, PostgreSQL runs on port 5432. Before starting, ensure this port is not already in use on your system.

To change the PostgreSQL port, use the following command structure:

docker compose -f compose.dev.yaml run -d -p <port>:5432

Run locally

Important

You need node installed.

  1. Copy environment variables

    cp .env.example .env
  2. Install and run postgres

    You can install PostgreSQL directly on your system or use Docker. For Docker instructions, refer to Run the database in docker.

  3. Install pnpm

    npm install -g pnpm
  4. Install dependencies

    pnpm install
  5. Generate schema and migrate

    pnpm run db:migrate:dev
  6. Fill the database with data

    pnpm run db:seed
  7. Start the server

    pnpm run dev

Ports

Run the linter

pnpm run lint

About

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 1.9%Language:CSS 1.1%Language:HTML 0.3%Language:Dockerfile 0.2%