Commit Graph
7 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 4.6 c1b7dcacb7 Fix git safe.directory error on upgrade
When running as root on an existing install, git refuses to operate on
a repo owned by a different user. Mark the install dir as safe before pulling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 10:58:37 -04:00
nmemmertandClaude Sonnet 4.6 028265dd60 Add bare-metal installer and in-app backup/restore
install.sh: no-Docker one-liner for cloud VPS
- Installs Node.js 20 via NodeSource if missing (Ubuntu/Debian/RHEL/Rocky)
- Clones to /opt/capsule, builds, creates a systemd service
- Re-running upgrades in place (git pull + rebuild)

Backup & Restore (Settings → Backup & Restore tab):
- Download Backup: streams all data/ as a .tar.gz (pure Node zlib, no deps)
- Restore: upload a .tar.gz to replace server data, auto sign-out after

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-14 09:29:45 -04:00
Nate Emmert 7c24f1ecea Add Rocky Podman/Cockpit deployment fixes 2026-03-11 08:12:06 -04:00
nmemmert e6805c66a7 Fix sed command to handle special characters in encryption key
- Escape &, /, and \ characters in encryption key before sed
- Use | as delimiter instead of / to avoid conflicts
- Fixes 'unknown option to s' error on ZimaOS
2026-01-13 16:08:39 -05:00
nmemmert 2c333d14eb Support both docker-compose and docker compose commands
- Auto-detect standalone docker-compose vs docker compose plugin
- Works on ZimaOS which uses docker compose (v2)
- Works on older systems with docker-compose (v1)
- Updated all script commands to use detected version
- Better error messages showing which version is being used
2026-01-13 16:05:03 -05:00
nmemmert 2e06475aab Fix deployment scripts for systems without openssl
- Added fallback to /dev/urandom when openssl is not available
- Added multiple fallback methods for encryption key generation
- Scripts now work on minimal systems like ZimaOS
- Maintains security with urandom-based key generation
2026-01-13 15:58:04 -05:00
nmemmert d31eabed6b Add one-line curl installer for Docker deployment
- Created install.sh for automated installation
- Checks prerequisites (Docker, Docker Compose)
- Clones repository or downloads files
- Auto-generates encryption key
- Builds and starts container automatically
- Supports both git and non-git environments
- Updated README.md with one-line install command
- Updated DEPLOYMENT.md with curl installation section
- Provides detailed success/error messages

Usage: curl -fsSL https://raw.githubusercontent.com/nmemmert/budget/master/install.sh | bash
2026-01-13 15:52:03 -05:00