1.1 changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Core Nest Control Scripts
|
||||
# Core Room Control Scripts
|
||||
|
||||
Control scripts for managing the core_nest deployment (amar + pawprint).
|
||||
Control scripts for managing the core_room deployment (amar + soleprint).
|
||||
|
||||
## Structure
|
||||
|
||||
@@ -17,7 +17,7 @@ ctrl/
|
||||
├── stop.sh # Stop Docker services
|
||||
└── manual_sync/ # Source code sync scripts
|
||||
├── sync_ama.sh # Sync amar source code
|
||||
└── sync_pawprint.sh # Sync pawprint source code
|
||||
└── sync_soleprint.sh # Sync soleprint source code
|
||||
```
|
||||
|
||||
## Configuration
|
||||
@@ -27,15 +27,15 @@ Edit `.env.sync` to configure deployment:
|
||||
```bash
|
||||
# Server
|
||||
DEPLOY_SERVER=mariano@mcrn.ar
|
||||
DEPLOY_REMOTE_PATH=~/core_nest
|
||||
DEPLOY_REMOTE_PATH=~/core_room
|
||||
|
||||
# Local paths
|
||||
LOCAL_PAWPRINT_PATH=/home/mariano/wdir/ama/pawprint
|
||||
LOCAL_SOLEPRINT_PATH=/home/mariano/wdir/ama/soleprint
|
||||
LOCAL_AMAR_BASE=/home/mariano/wdir/ama
|
||||
|
||||
# Remote paths
|
||||
REMOTE_PAWPRINT_PATH=/home/mariano/pawprint
|
||||
REMOTE_AMAR_PATH=/home/mariano/core_nest/amar/src
|
||||
REMOTE_SOLEPRINT_PATH=/home/mariano/soleprint
|
||||
REMOTE_AMAR_PATH=/home/mariano/core_room/amar/src
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -47,7 +47,7 @@ cd ctrl
|
||||
./deploy.sh --dry-run # Preview what would be synced
|
||||
|
||||
# Then on server:
|
||||
ssh server 'cd ~/core_nest/ctrl && ./build.sh && ./start.sh -d'
|
||||
ssh server 'cd ~/core_room/ctrl && ./build.sh && ./start.sh -d'
|
||||
```
|
||||
|
||||
### Local Development
|
||||
@@ -83,10 +83,10 @@ ssh server 'cd ~/core_nest/ctrl && ./build.sh && ./start.sh -d'
|
||||
./status.sh # Show container status
|
||||
```
|
||||
|
||||
## Nest vs Pawprint Control
|
||||
## Room vs Soleprint Control
|
||||
|
||||
- **core_nest/ctrl/** - Manages the full nest (amar + pawprint) via Docker
|
||||
- **pawprint/ctrl/** - Manages pawprint services via systemd (alternative deployment)
|
||||
- **core_room/ctrl/** - Manages the full room (amar + soleprint) via Docker
|
||||
- **soleprint/ctrl/** - Manages soleprint services via systemd (alternative deployment)
|
||||
|
||||
Use core_nest/ctrl for orchestrating the full nest with Docker Compose.
|
||||
Use pawprint/ctrl for direct systemd deployment of pawprint services only.
|
||||
Use core_room/ctrl for orchestrating the full room with Docker Compose.
|
||||
Use soleprint/ctrl for direct systemd deployment of soleprint services only.
|
||||
|
||||
Reference in New Issue
Block a user