apps/front | ||
sql | ||
.env.example | ||
.gitignore | ||
bun.lockb | ||
dev.compose.yml | ||
package.json | ||
README.md |
GB-Lux
This is a prototype/draft of a light control system.
At the moment it is at database design stage.
Prerequisites
Installation
-
Clone the repository
-
Install dependencies
bun install
- Copy
.env.example
to.env
and fill in the values or leave them as is:
cp .env.example .env
- Spin up database:
docker compose -f dev.compose.yml up
- Apply database migrations:
bun db:migrate
- Now you can connect to the database with your favorite client (e.g. DBeaver) using the credentials from
.env
file.