Marko Marković da8a7f17a4 Make docker startup work on a cold cache
Frontend: tsc was running before vite, but the routeTree.gen.ts that
the routes import is generated by the Vite plugin at startup — fresh
container had no cache, so tsc failed before vite ever ran. Reverse
the order: vite first (generates routeTree), then tsc --noEmit
validates types.

Backend: run `directus database migrate:latest` before start; the
deployed SQLite is on an old schema (Directus 10.x) and `directus
start` aborts on the missing `searchable` column.

Both services: set CI=true so pnpm doesn't prompt for `node_modules`
purge on a non-TTY container, and use `sh -ec` so a failed step halts
the script instead of falling through to `pnpm run start`.
2026-04-23 22:23:26 +04:00
2023-07-07 22:14:01 +04:00
2023-06-09 18:53:03 +04:00
2023-06-09 18:53:03 +04:00
2026-04-23 21:21:15 +04:00
2023-06-09 19:36:10 +04:00

PCA Pijac

Administrator

cd backend
pnpm directus users create --email <email> --password <password> --role 067808bd-7c13-40be-8c11-9ba654b79465
Description
No description provided
Readme 24 MiB
Languages
TypeScript 83.9%
CSS 8.7%
Makefile 6.5%
HTML 0.9%