• Nix 72.5%
  • TypeScript 26.4%
  • CSS 0.7%
  • HTML 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-06 22:26:18 +02:00
.zed updated seeder 2026-08-06 14:04:49 +02:00
backend using types from backend 2026-08-06 22:26:18 +02:00
frontend using types from backend 2026-08-06 22:26:18 +02:00
nix updates 2026-08-06 16:05:28 +02:00
utils temp 2026-08-01 15:02:17 +02:00
.envrc temp 2026-08-01 15:02:17 +02:00
.gitignore temp 2026-07-31 10:05:22 +02:00
biome.json cleaned up error handling receipts 2026-08-01 01:14:15 +02:00
bun.lock updates 2026-08-06 16:05:28 +02:00
config.local.toml updated seeder 2026-08-06 14:04:49 +02:00
config.ts new 2026-08-06 11:29:28 +02:00
flake.lock new 2026-08-05 18:53:38 +02:00
flake.nix new 2026-08-05 18:53:38 +02:00
package.json now we are ready to write a backend 2026-08-06 22:15:37 +02:00
README.md fix dela visibility 2026-08-04 13:31:04 +02:00
tsconfig.json finally implemented login appropriately 2026-07-31 18:35:50 +02:00

dela

dev

using the nix devshell (nix develop / direnv allow) is reccomended, but bun is ~all you need, install it with:

curl -fsSL https://bun.com/install | bash

then, run with:

bun dev # or separately: bun dev:backend // bun dev:frontend

deploy

git push
nix flake update dela # in ~/git/nics/rcastellotti-dev
nixos-rebuild switch --flake .#rcastellotti-dev --target-host "root@rcastellotti-dev"
rsync -avzP backend/db/drizzle/20260804102929_groovy_red_wolf/migration.sql rc@rcastellotti-dev:/var/www/f/tmp/migration.sql
sudo -u dela sqlite3 dela.db < /var/www/f/tmp/migration.sql

to run a debug build in prod

bun run build:dev
bun run deploy
/var/www/dist/dela -c config.dev.toml

run VM with pre-configured service

nix run .#nixosConfigurations.delaTest.config.system.build.vm

check service works

nix flake check -L