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:
parent
819bea1922
commit
ffd96949e5
12
README.md
12
README.md
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
exec "$SCRIPT_DIR/public/setup.sh" "$@"
|
||||
Loading…
Reference in New Issue