Merge gitea/main, preserving release v0.2.2 stability and CLI documentation
This commit is contained in:
@@ -26,12 +26,12 @@ Successfully deployed two independent AITBC blockchain nodes on the same server
|
||||
### Systemd Services
|
||||
```bash
|
||||
# Node 1
|
||||
sudo systemctl status blockchain-node # Consensus node
|
||||
sudo systemctl status blockchain-rpc # RPC API
|
||||
systemctl status blockchain-node # Consensus node
|
||||
systemctl status blockchain-rpc # RPC API
|
||||
|
||||
# Node 2
|
||||
sudo systemctl status blockchain-node-2 # Consensus node
|
||||
sudo systemctl status blockchain-rpc-2 # RPC API
|
||||
systemctl status blockchain-node-2 # Consensus node
|
||||
systemctl status blockchain-rpc-2 # RPC API
|
||||
```
|
||||
|
||||
### API Endpoints
|
||||
|
||||
@@ -36,7 +36,7 @@ These services already had the `aitbc-` prefix:
|
||||
### Check Service Status
|
||||
```bash
|
||||
# Site A (via SSH)
|
||||
ssh aitbc-cascade "systemctl status aitbc-blockchain-node-1.service"
|
||||
ssh aitbc "systemctl status aitbc-blockchain-node-1.service"
|
||||
|
||||
# Site B (via SSH)
|
||||
ssh ns3-root "incus exec aitbc -- systemctl status aitbc-blockchain-node-3.service"
|
||||
@@ -45,16 +45,16 @@ ssh ns3-root "incus exec aitbc -- systemctl status aitbc-blockchain-node-3.servi
|
||||
### Restart Services
|
||||
```bash
|
||||
# Site A
|
||||
ssh aitbc-cascade "sudo systemctl restart aitbc-blockchain-node-1.service"
|
||||
ssh aitbc "systemctl restart aitbc-blockchain-node-1.service"
|
||||
|
||||
# Site B
|
||||
ssh ns3-root "incus exec aitbc -- sudo systemctl restart aitbc-blockchain-node-3.service"
|
||||
ssh ns3-root "incus exec aitbc -- systemctl restart aitbc-blockchain-node-3.service"
|
||||
```
|
||||
|
||||
### View Logs
|
||||
```bash
|
||||
# Site A
|
||||
ssh aitbc-cascade "journalctl -u aitbc-blockchain-node-1.service -f"
|
||||
ssh aitbc "journalctl -u aitbc-blockchain-node-1.service -f"
|
||||
|
||||
# Site B
|
||||
ssh ns3-root "incus exec aitbc -- journalctl -u aitbc-blockchain-node-3.service -f"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
- `pyproject.toml` - Python project configuration
|
||||
- `poetry.lock` - Dependency lock file
|
||||
- `pytest.ini` - Test configuration
|
||||
- `run_all_tests.sh` - Main test runner
|
||||
- `scripts/testing/run_all_tests.sh` - Main test runner
|
||||
|
||||
### Development Scripts → `dev/scripts/`
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user