inferst / dudes

Animated characters for chatters on your stream
https://evotars.inferst.com
MIT License
9 stars 5 forks source link

Dudes

Dev Containers Badge

<img src="https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_83ffd63c128c4fbc86784ff2914836a9/default/dark/4.0" width="100px" align="right" />

Animated characters for chatters in your stream.

Run the database in docker

docker compose -f compose.dev.yaml up -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