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
This commit is contained in:
nmemmert committed 2026-01-13 15:52:03 -05:00
1 parent 97c47cde1c
commit d31eabed6b
3 files changed
+211 -3

No files matched your search

+21
View File
@@ -1,5 +1,26 @@
# Capsule Budget - ZimaOS Deployment Guide
## One-Line Installation (Easiest)
Run this single command on your ZimaOS device:
```bash
curl -fsSL https://raw.githubusercontent.com/nmemmert/budget/master/install.sh | bash
```
**What it does:**
1. ✅ Checks for Docker and Docker Compose
2. ✅ Downloads Capsule Budget
3. ✅ Generates secure encryption key
4. ✅ Creates data directory
5. ✅ Builds Docker image
6. ✅ Starts the container
7. ✅ Shows access URLs
**Then access at:** `http://your-zima-ip:7654`
---
## Quick Deploy
1. **Clone or upload this repository to your ZimaOS device**