Go to file
2024-01-28 16:22:37 +08:00
apps/front ui: Table under map with status of devices, last time updated 2024-01-28 16:22:37 +08:00
sql feat: add "apps/front" with basic dashboard mockup 2024-01-26 08:12:48 +08:00
.env.example feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00
.gitignore feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00
bun.lockb feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00
dev.compose.yml feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00
package.json feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00
README.md feat: design db, configure Docker compose to spin up Postgres 2024-01-22 23:18:45 +08:00

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.