No description
https://dela.rcastellotti.dev
- Nix 72.5%
- TypeScript 26.4%
- CSS 0.7%
- HTML 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .zed | ||
| backend | ||
| frontend | ||
| nix | ||
| utils | ||
| .envrc | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| config.local.toml | ||
| config.ts | ||
| flake.lock | ||
| flake.nix | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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