feat: Add wispermoney local command (#59)

## Changes

- Moved `setup.sh` to `public/setup.sh` so it's accessible via
`https://whisper.money/setup.sh` for remote users
- Added `wispermoney` wrapper command in root directory for easy local
execution
- Updated README to document the new `wispermoney` command
- Removed duplicate `setup.sh` from root directory

## Benefits

- Remote users can still use: `bash <(curl -fsSL
https://whisper.money/setup.sh)`
- Local developers can now use: `./wispermoney install` (or
start/stop/upgrade)
- Single source of truth - no duplicate setup scripts
- Cleaner project structure
This commit is contained in:
Víctor Falcón 2026-01-16 16:40:15 +01:00 committed by GitHub
parent 819bea1922
commit ffd96949e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 6 deletions

View File

@ -68,25 +68,25 @@ cd whisper-money
2. **Run the setup script:**
```bash
./setup.sh install
./wispermoney install
```
### Available Commands
Once installed, you can use the setup script for common tasks:
Once installed, you can use the `wispermoney` command for common tasks:
```bash
# Start all services
./setup.sh start
./wispermoney start
# Stop all services
./setup.sh stop
./wispermoney stop
# Upgrade to latest version
./setup.sh upgrade
./wispermoney upgrade
# Interactive menu
./setup.sh
./wispermoney
```
### Development Server

4
wispermoney Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
exec "$SCRIPT_DIR/public/setup.sh" "$@"