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

+18 -3
View File
@@ -59,11 +59,26 @@ A modern, privacy-focused envelope budgeting application built with Next.js, Typ
## Getting Started
### Prerequisites
### One-Line Installation (Docker - Recommended)
- Node.js 18+ and npm
For ZimaOS or any system with Docker:
### Installation
```bash
curl -fsSL https://raw.githubusercontent.com/nmemmert/budget/master/install.sh | bash
```
This will automatically:
- Check for Docker and Docker Compose
- Download Capsule Budget
- Generate a secure encryption key
- Build and start the container
- Set up data persistence
**Access at:** `http://localhost:7654` or `http://your-device-ip:7654`
### Manual Installation (Development)
If you want to run from source:
1. Clone the repository:
```bash