diff --git a/DEPLOYMENT_GUIDE.md b/DEPLOYMENT_GUIDE.md index f18eeff..2870628 100644 --- a/DEPLOYMENT_GUIDE.md +++ b/DEPLOYMENT_GUIDE.md @@ -1,13 +1,13 @@ # Deployment Guide - Using SAAC API -This guide explains how to deploy your recruitment site using the Coolify SAAC API at `apps.startanaicompany.com`. +This guide explains how to deploy your recruitment site using the SAAC API at `apps.startanaicompany.com`. ## What is the SAAC API? -The SAAC API is a secure gateway that allows you to deploy applications to our Coolify infrastructure without needing direct access to Coolify. Each user gets their own API key and can only manage their own applications. +The SAAC API is a secure gateway that allows you to deploy applications to StartAnAiCompany infrastructure. Each user gets their own API key and can only manage their own applications. **Benefits:** -- ✅ No need for master Coolify credentials +- ✅ No need for infrastructure credentials - ✅ Automatic isolation - you can only see/manage your apps - ✅ Rate limiting prevents abuse - ✅ Audit logging for security @@ -95,7 +95,7 @@ chmod +x deploy-to-apps.sh ``` The script will: -1. Create your application on Coolify +1. Create your application on StartAnAiCompany platform 2. Configure domain (`{subdomain}recruit.startanaicompany.com`) 3. Set up automatic deployments via webhook 4. Trigger initial build @@ -233,7 +233,7 @@ curl -H "X-API-Key: $SAAC_API_KEY" \ Common issues: - **Database migration failed**: Check migration SQL syntax -- **Port 3000 already in use**: Normal, Coolify handles this +- **Port 3000 already in use**: Normal, the platform handles this - **Git clone failed**: Check repository URL and permissions ### Site Not Loading @@ -248,7 +248,7 @@ Common issues: ```bash dig {subdomain}recruit.startanaicompany.com ``` - Should point to Cloudflare or Coolify server. + Should point to Cloudflare or StartAnAiCompany server. 3. **Wait**: Initial deployment takes 2-3 minutes. diff --git a/README.md b/README.md index cef9d0a..3e5cb5d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This repository is marked as a template. You can create your own recruitment sit - **Environment-based configuration** - All customization via `.env` file - **Dynamic branding** - Company name, colors, contact info all configurable - **AI agent friendly** - Clear structure for automated modifications -- **One-click deployment** - Automated Coolify deployment script +- **One-click deployment** - Automated deployment to StartAnAiCompany infrastructure - **No hardcoded values** - Everything is configurable ## 🚀 Quick Deployment @@ -261,7 +261,7 @@ npm start - **Database**: PostgreSQL 15 with BYTEA for CV storage - **Authentication**: Session-based with bcrypt - **File Upload**: Multer (PDF, DOC, DOCX) -- **Deployment**: Docker Compose + Coolify +- **Deployment**: Docker Compose + StartAnAiCompany platform - **DNS**: Cloudflare ## 🔐 Security Features diff --git a/cc/results.json b/cc/results.json new file mode 100644 index 0000000..13c981d --- /dev/null +++ b/cc/results.json @@ -0,0 +1,8 @@ +{ + "session_id": "0e856c02-31a4-4e41-927f-79c3d8e1e364", + "transcript_path": "/home/milko/.claude/projects/-home-milko-projects-ryan-airecruit-site/0e856c02-31a4-4e41-927f-79c3d8e1e364.jsonl", + "cwd": "/home/milko/projects/ryan/airecruit-site/ai-recruit-site-template", + "permission_mode": "bypassPermissions", + "hook_event_name": "UserPromptSubmit", + "prompt": "I so can you do grep Coolify ... do you find anything? Beacuse it should be SAAC or Start an AI Company " +} \ No newline at end of file diff --git a/deploy-to-apps.example.sh b/deploy-to-apps.example.sh index 69bcae2..9645ffa 100644 --- a/deploy-to-apps.example.sh +++ b/deploy-to-apps.example.sh @@ -64,7 +64,7 @@ fi # SAAC API configuration SAAC_API="https://apps.startanaicompany.com/api/v1" -# Repository URL (HTTPS for Coolify to clone) +# Repository URL (HTTPS for deployment platform to clone) REPO_URL="https://git.startanaicompany.com/${GITEA_USERNAME}/${GITEA_REPO_NAME}.git" # Domain (e.g., annarecruit.startanaicompany.com or johnrecruit.startanaicompany.com)