Commit graph

4 commits

Author SHA1 Message Date
1b031ecdc3 fix(server): run assets.deploy as a mix release step
Without this, 'mix release' produced a tarball that had app.css/app.js
(so LiveView worked) but was missing cache_manifest.json and the digested
asset paths. Phoenix served the bare files OK, but the client-side
LiveView bootstrap timing was fragile: if a form was submitted before
the LiveSocket attached, the browser fell back to a native HTML GET,
producing bug-report URLs like /admin/hosts?host%5Bname%5D=repl.

Define a project releases/0 with a pre-assemble step that runs
assets.deploy, so minified + digested assets are baked into every
release tarball.

Also gitignore digested priv/static artifacts so dev-time byproducts
don't pollute commits.
2026-04-22 10:18:28 +02:00
58f22243a5 feat(server): argon2_elixir dep + dashboard_password_hash config 2026-04-21 22:48:07 +02:00
bab31b7c4e feat(server): add bcrypt_elixir for token hashing 2026-04-21 22:01:09 +02:00
b85d05afc8 feat(server): phoenix 1.7 scaffold with sqlite + liveview 2026-04-21 22:00:43 +02:00