f9a7df1580
feat: greenfield deployment — no Go required
...
- install.sh detects if Go is installed
- If Go available: builds from source (current behavior)
- If Go missing: downloads pre-built binary from latest release
- Detects amd64/arm64 architecture automatically
- Same logic applies to -update mode
- Removed hard dependency on ollama.service in systemd unit
2026-05-30 15:49:05 +00:00
59788ba0c8
fix: app runs as dedicated user, not root
...
- install.sh detects the real user (SUDO_USER or whoami)
- If root, creates receiptnext system user
- If regular user, uses that user for the service
- User is added to ollama group for CLI access
- Systemd service uses User=receiptnext (or detected user)
- All file ownership set to the app user
2026-05-30 15:44:10 +00:00
b6c2c3f99d
fix: Ollama timeout + image compression + selective sudo in install.sh
2026-05-30 15:41:47 +00:00
357483cfd2
fix: install zstd dependency before Ollama installer
2026-05-30 15:22:03 +00:00
1aa5ec456e
chore: install.sh asks for domain name instead of raw URL
...
- Prompts for domain and HTTPS preference
- Builds proper BASE_URL from domain + protocol
- Defaults to http://localhost:8080
2026-05-30 15:08:26 +00:00
7fdfba8095
chore: change install dir from /opt/rx to /opt/receiptnext
2026-05-30 15:06:20 +00:00
39fa7f6a12
chore: rewrite install.sh with AI provider choice + -update flag + pure Go
...
- install.sh now:
• Clones repo to /opt/rx
• Builds pure-Go binary (no CGO)
• Prompts AI choice: Gemini / OpenAI / Ollama
• If Ollama: auto-installs Ollama + pulls qwen3.5:2b
• Creates .env interactively
• Creates systemd service
• Supports -update flag (pull, rebuild, restart)
- README.md fully rewritten for new install flow
- All binaries removed from git tracking (dist/ in .gitignore)
2026-05-30 15:03:39 +00:00
b780ac1e1f
chore: interactive install.sh — prompts user for credentials, installs to /opt/rx
...
- install.sh copies binary + assets to /opt/rx/
- Prompts for SMTP, Gemini, port, URL interactively
- Creates .env file with chmod 600
- Creates systemd service pointing to /opt/rx/
- Handles both pre-built and dist/ binaries
2026-05-30 14:23:42 +00:00
f50048e833
chore: rename to ReceiptNext + deployment scripts
...
- Full rename: module path, imports, directory structure
- install.sh: one-command bare-metal deployment
- contrib/receiptnext.service: systemd service file
- Makefile: build, install, manage service
- .gitenv updated to ReceiptNext
- New Releases page on git.lohmar.co.uk/cclohmar/ReceiptNext
2026-05-30 14:20:49 +00:00