Update README: Remove non-existent features from documentation
- Remove saac shell commands (not available) - Remove saac domain commands (not available) - Remove resource limit update commands (not available) - Simplify debugging section with available commands - Keep only working features: logs, env, status 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
48
README.md
48
README.md
@@ -470,57 +470,25 @@ saac logs --follow
|
|||||||
|
|
||||||
### How to Debug
|
### How to Debug
|
||||||
|
|
||||||
**Open remote shell:**
|
**Check deployment logs:**
|
||||||
```bash
|
```bash
|
||||||
saac shell
|
saac logs --follow
|
||||||
```
|
```
|
||||||
|
|
||||||
**Inside the container:**
|
**View environment variables:**
|
||||||
```bash
|
```bash
|
||||||
# Check if app is running
|
saac env list
|
||||||
ps aux | grep node
|
```
|
||||||
|
|
||||||
# View environment variables
|
**Check application status:**
|
||||||
printenv
|
```bash
|
||||||
|
saac status
|
||||||
# Check database connection
|
|
||||||
nc -zv postgres 5432
|
|
||||||
|
|
||||||
# Check Redis connection
|
|
||||||
nc -zv redis 6379
|
|
||||||
|
|
||||||
# View application logs
|
|
||||||
tail -f /var/log/app.log
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Advanced Configuration
|
## Advanced Configuration
|
||||||
|
|
||||||
### Custom Domain
|
|
||||||
|
|
||||||
To use a custom domain instead of `*.startanaicompany.com`:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
saac domain add yourdomain.com
|
|
||||||
|
|
||||||
# Update Traefik labels in docker-compose.yml
|
|
||||||
# Then redeploy
|
|
||||||
saac deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
### Resource Limits
|
|
||||||
|
|
||||||
Set CPU and memory limits:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
saac update \
|
|
||||||
--cpu-limit 2 \
|
|
||||||
--memory-limit 2G
|
|
||||||
|
|
||||||
saac deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
### Pre-deployment Scripts
|
### Pre-deployment Scripts
|
||||||
|
|
||||||
Run database migrations before deployment:
|
Run database migrations before deployment:
|
||||||
|
|||||||
Reference in New Issue
Block a user