Remove production server details from docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-04 02:54:48 +02:00
parent 27cd8cc33c
commit 2c5fa2bcc0
2 changed files with 3 additions and 29 deletions

View File

@@ -474,12 +474,6 @@ Tests cover: `timestamp()` format, `human_size()`, `human_duration()`, `require_
Tests use a simple `assert_eq`/`assert_ok`/`assert_fail` framework defined in `test_utils.sh`. Tests use a simple `assert_eq`/`assert_ok`/`assert_fail` framework defined in `test_utils.sh`.
## Production
| Server | Host | SSH Port | Hostname |
|--------|------|----------|----------|
| Production (cPanel) | `192.168.100.13` | `2223` | `181-79-81-251.cprapid.com` |
## Common Tasks ## Common Tasks
### Adding a new library function ### Adding a new library function
@@ -557,21 +551,9 @@ cd whm/gniza-whm/assets && npm install && npm run build:css
2. Rebuild: `cd whm/gniza-whm/assets && npm run build:css` 2. Rebuild: `cd whm/gniza-whm/assets && npm run build:css`
3. Deploy the updated `gniza-whm.css` to the server 3. Deploy the updated `gniza-whm.css` to the server
### Deploying changes to production ### Deploying changes to a server
**WHM plugin (CGIs, Perl modules, CSS):** Use the install script for fresh installs or upgrades:
```bash ```bash
# Deploy all WHM files curl -sSL http://192.168.100.100:3001/shukivaknin/gniza/raw/branch/main/scripts/install.sh | bash
rsync -avz -e 'ssh -p 2223' whm/gniza-whm/ \
root@192.168.100.13:/usr/local/cpanel/whostmgr/docroot/cgi/gniza-whm/ \
--exclude=assets/node_modules --exclude=assets/src --exclude=assets/package.json --exclude=assets/package-lock.json
ssh -p 2223 root@192.168.100.13 'chmod 0755 /usr/local/cpanel/whostmgr/docroot/cgi/gniza-whm/*.cgi'
```
**CLI + libraries:**
```bash
rsync -avz -e 'ssh -p 2223' bin/ root@192.168.100.13:/usr/local/gniza/bin/
rsync -avz -e 'ssh -p 2223' lib/ root@192.168.100.13:/usr/local/gniza/lib/
rsync -avz -e 'ssh -p 2223' etc/ root@192.168.100.13:/usr/local/gniza/etc/
ssh -p 2223 root@192.168.100.13 'chmod 0755 /usr/local/gniza/bin/gniza && mkdir -p /etc/gniza/schedules.d'
``` ```

View File

@@ -374,14 +374,6 @@ whm/
## Production Server ## Production Server
gniza is deployed on the following server:
| Server | Host | SSH Port |
|--------|------|----------|
| Production (cPanel) | `192.168.100.13` | `2223` |
Hostname: `181-79-81-251.cprapid.com`
## Running Tests ## Running Tests
```bash ```bash