- go.mod module path (and every internal/vibetree import) inventree -> vibetree - cmd/inventree/ -> cmd/vibetree/, deploy/inventree.service -> vibetree.service - Default site name (seed data + the siteName template func's fallback) is now "vibetree", shown in the navbar, <title>, and login page - Session cookie renamed inventree_session -> vibetree_session - Default DB path data/inventree.db -> data/vibetree.db, CLI/log text, Dockerfile, docker-compose.yml, README, .gitignore/.dockerignore all updated to match Existing installs: this changes the session cookie name (users will be signed out once) and the default DB filename (point -db at your existing file, or rename it, to keep your data).
12 lines
257 B
Go
12 lines
257 B
Go
// Package content embeds vibetree's HTML templates and static assets
|
|
// (Bootstrap CSS/JS, icons, vanilla JS) into the compiled binary.
|
|
package content
|
|
|
|
import "embed"
|
|
|
|
//go:embed templates
|
|
var TemplatesFS embed.FS
|
|
|
|
//go:embed static
|
|
var StaticFS embed.FS
|