gb-lux/README.md

681 B

GB-Lux

This is a prototype/draft of a light control system.
At the moment it is at database design stage.

Prerequisites

Installation

  1. Clone the repository

  2. Install dependencies

bun install
  1. Copy .env.example to .env and fill in the values or leave them as is:
cp .env.example .env
  1. Spin up database:
docker compose -f dev.compose.yml up
  1. Apply database migrations:
bun db:migrate
  1. Now you can connect to the database with your favorite client (e.g. DBeaver) using the credentials from .env file.