From 7fdfba8095201d4b6dc578920fc2cceccf57785c Mon Sep 17 00:00:00 2001 From: cclohmar Date: Sat, 30 May 2026 15:06:20 +0000 Subject: [PATCH] chore: change install dir from /opt/rx to /opt/receiptnext --- README.md | 8 ++++---- install.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2daf545..7ab3d8a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ sudo ./install.sh The installer will: -1. Clone the repo to `/opt/rx/` +1. Clone the repo to `/opt/receiptnext/` 2. Build the binary (pure Go, no CGO, no dependencies) 3. Ask which AI provider to use: @@ -31,7 +31,7 @@ The installer will: ``` 4. Prompt for SMTP settings (for OTP emails and report delivery) -5. Create `/opt/rx/.env` with all configuration +5. Create `/opt/receiptnext/.env` with all configuration 6. Set up a systemd service that auto-starts on boot 7. Start ReceiptNext @@ -42,7 +42,7 @@ The installer will: ## 🔄 Updating ```bash -sudo /opt/rx/install.sh -update +sudo /opt/receiptnext/install.sh -update ``` This pulls the latest code, rebuilds the binary, and restarts the service. @@ -183,7 +183,7 @@ Navigate to `http://YOUR_SERVER:8080` ## 🏗️ Project Structure ``` -/opt/rx/ +/opt/receiptnext/ ├── receiptnext # Compiled binary ├── .env # Configuration ├── templates/ # Go HTML templates diff --git a/install.sh b/install.sh index 1838e09..4c12798 100755 --- a/install.sh +++ b/install.sh @@ -7,12 +7,12 @@ # sudo ./install.sh — Full install (clone, build, configure, service) # sudo ./install.sh -update — Pull latest, rebuild, restart # -# Installs to /opt/rx/ and sets up a systemd service. +# Installs to /opt/receiptnext/ and sets up a systemd service. # set -euo pipefail -INSTALL_DIR="/opt/rx" +INSTALL_DIR="/opt/receiptnext" SERVICE_NAME="receiptnext" REPO_URL="https://git.lohmar.co.uk/cclohmar/ReceiptNext.git"