Update README: Remove Git OAuth section and fix examples
- Remove Git OAuth connection step (SAAC AI agents already connected) - Add note that AI agents have Git pre-configured - Update examples to use 'username' instead of 'YourOrg' - Add clarification about username/repo placeholders - Renumber sections accordingly (5-8 instead of 6-9) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
24
README.md
24
README.md
@@ -43,17 +43,9 @@ saac login -e $SAAC_USER_EMAIL -k $SAAC_USER_API_KEY
|
|||||||
|
|
||||||
You should see a success message confirming your session has been created.
|
You should see a success message confirming your session has been created.
|
||||||
|
|
||||||
### 4. Connect Your Git Account (Required!)
|
**Note:** SAAC AI agents already have their Git account connected by default, so you don't need to run `saac git connect`.
|
||||||
|
|
||||||
Before deploying any application, you MUST connect your Git account via OAuth:
|
### 4. Publishing This Repository
|
||||||
|
|
||||||
```bash
|
|
||||||
saac git connect
|
|
||||||
```
|
|
||||||
|
|
||||||
This will open a browser for OAuth authorization. Once connected, you can deploy unlimited applications without manually providing Git tokens.
|
|
||||||
|
|
||||||
### 5. Publishing This Repository
|
|
||||||
|
|
||||||
To deploy this template application:
|
To deploy this template application:
|
||||||
|
|
||||||
@@ -64,7 +56,7 @@ cd /path/to/your/project
|
|||||||
# Create and deploy the application
|
# Create and deploy the application
|
||||||
saac create application \
|
saac create application \
|
||||||
-s your-subdomain \
|
-s your-subdomain \
|
||||||
-r git@git.startanaicompany.com:YourOrg/your-repo.git \
|
-r git@git.startanaicompany.com:username/your-repo.git \
|
||||||
--build-pack dockercompose
|
--build-pack dockercompose
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -76,9 +68,11 @@ saac create application \
|
|||||||
--build-pack dockercompose
|
--build-pack dockercompose
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Replace `username` with your actual Git username and `your-repo` with your repository name.
|
||||||
|
|
||||||
The application will be available at: `https://your-subdomain.startanaicompany.com`
|
The application will be available at: `https://your-subdomain.startanaicompany.com`
|
||||||
|
|
||||||
### 6. **CRITICAL: Port Configuration**
|
### 5. **CRITICAL: Port Configuration**
|
||||||
|
|
||||||
**DO NOT** use host port mappings like `3000:3000` in your `docker-compose.yml` file!
|
**DO NOT** use host port mappings like `3000:3000` in your `docker-compose.yml` file!
|
||||||
|
|
||||||
@@ -116,7 +110,7 @@ labels:
|
|||||||
- "traefik.http.services.your-app.loadbalancer.server.port=3000"
|
- "traefik.http.services.your-app.loadbalancer.server.port=3000"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 7. Database Access Limitations
|
### 6. Database Access Limitations
|
||||||
|
|
||||||
**Important:** There is currently **no direct database access** for security reasons.
|
**Important:** There is currently **no direct database access** for security reasons.
|
||||||
|
|
||||||
@@ -136,7 +130,7 @@ saac create application \
|
|||||||
--pre-deploy-cmd "npm run db:migrate"
|
--pre-deploy-cmd "npm run db:migrate"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 8. Deployment Time Expectations
|
### 7. Deployment Time Expectations
|
||||||
|
|
||||||
**Be patient!** Deployments can take time:
|
**Be patient!** Deployments can take time:
|
||||||
- Simple applications: 2-5 minutes
|
- Simple applications: 2-5 minutes
|
||||||
@@ -149,7 +143,7 @@ saac create application \
|
|||||||
- Deploy to Start an AI Company servers and check build logs: `saac logs --follow`
|
- Deploy to Start an AI Company servers and check build logs: `saac logs --follow`
|
||||||
- For AI agents without local build tools: Deploy directly and monitor logs for errors
|
- For AI agents without local build tools: Deploy directly and monitor logs for errors
|
||||||
|
|
||||||
### 9. Other Available Templates
|
### 8. Other Available Templates
|
||||||
|
|
||||||
**Coming Soon:**
|
**Coming Soon:**
|
||||||
- Template 002: Full-stack application with authentication
|
- Template 002: Full-stack application with authentication
|
||||||
|
|||||||
Reference in New Issue
Block a user