Rebrand from Wrapper API to SAAC API

Changed all references from "Coolify Wrapper" / "WRAPPER_API_KEY" to
"SAAC" / "SAAC_API_KEY" for better branding and user experience.

SAAC = StartAnAiCompany - makes it clear users are deploying to
StartAnAiCompany infrastructure rather than a "wrapper" service.

Changes:
- WRAPPER_API_KEY → SAAC_API_KEY throughout
- "Wrapper API" → "SAAC API" in all documentation
- Updated user-facing messages to reference StartAnAiCompany

This makes the service feel more direct and brand-focused rather
than like a proxy/wrapper layer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-24 08:14:34 +01:00
parent 338d4243bb
commit f5e0050465
3 changed files with 53 additions and 53 deletions

View File

@@ -1,17 +1,17 @@
#!/bin/bash
# ========================================
# AI Recruitment Site - Wrapper API Deployment Script
# AI Recruitment Site - SAAC Deployment Script
# ========================================
# This script deploys your recruitment site via the Coolify Wrapper API
# at apps.startanaicompany.com
# This script deploys your recruitment site to StartAnAiCompany infrastructure
# via apps.startanaicompany.com
#
# IMPORTANT: Copy this file to deploy-to-apps.sh and customize it
# DO NOT commit deploy-to-apps.sh to git (it's in .gitignore)
#
# Prerequisites:
# 1. Register for API key at: https://apps.startanaicompany.com/api/v1/register
# 2. Set WRAPPER_API_KEY environment variable
# 2. Set SAAC_API_KEY environment variable
# 3. Set GITEA_API_TOKEN environment variable (optional, for webhooks)
# 4. Customize your .env file with company information
@@ -26,8 +26,8 @@ fi
source .env
# Check required environment variables
if [ -z "$WRAPPER_API_KEY" ]; then
echo "❌ Error: WRAPPER_API_KEY environment variable not set"
if [ -z "$SAAC_API_KEY" ]; then
echo "❌ Error: SAAC_API_KEY environment variable not set"
echo ""
echo "To get your API key:"
echo "1. Register at: curl -X POST https://apps.startanaicompany.com/api/v1/register \\"
@@ -35,7 +35,7 @@ if [ -z "$WRAPPER_API_KEY" ]; then
echo " -d '{\"email\":\"your@email.com\",\"gitea_username\":\"${GITEA_USERNAME}\"}'"
echo ""
echo "2. Save the returned API key"
echo "3. Export it: export WRAPPER_API_KEY='your_api_key_here'"
echo "3. Export it: export SAAC_API_KEY='your_api_key_here'"
echo ""
exit 1
fi
@@ -61,8 +61,8 @@ if [ -z "$GITEA_REPO_NAME" ]; then
exit 1
fi
# Wrapper API configuration
WRAPPER_API="https://apps.startanaicompany.com/api/v1"
# SAAC API configuration
SAAC_API="https://apps.startanaicompany.com/api/v1"
# Repository URL (HTTPS for Coolify to clone)
REPO_URL="https://git.startanaicompany.com/${GITEA_USERNAME}/${GITEA_REPO_NAME}.git"
@@ -79,10 +79,10 @@ echo " Repository: $REPO_URL"
echo " Domain: https://$FULL_DOMAIN"
echo ""
# Create Coolify application via wrapper API
echo "📝 Creating application via Wrapper API..."
APP_RESPONSE=$(curl -s -X POST "${WRAPPER_API}/applications" \
-H "X-API-Key: ${WRAPPER_API_KEY}" \
# Create application via SAAC API
echo "📝 Creating application on StartAnAiCompany server..."
APP_RESPONSE=$(curl -s -X POST "${SAAC_API}/applications" \
-H "X-API-Key: ${SAAC_API_KEY}" \
-H "Content-Type: application/json" \
-d "{
\"name\": \"${SUBDOMAIN}-recruit\",
@@ -148,7 +148,7 @@ else
\"http_method\": \"GET\"
},
\"events\": [\"push\"],
\"authorization_header\": \"Bearer ${WRAPPER_API_KEY}\",
\"authorization_header\": \"Bearer ${SAAC_API_KEY}\",
\"active\": true
}")
@@ -190,12 +190,12 @@ echo " ${DOMAIN}/admin/login"
echo ""
echo "🔍 Monitor deployment:"
echo " View logs:"
echo " curl -H \"X-API-Key: \$WRAPPER_API_KEY\" \\"
echo " ${WRAPPER_API}/applications/${APP_UUID}/logs"
echo " curl -H \"X-API-Key: \$SAAC_API_KEY\" \\"
echo " ${SAAC_API}/applications/${APP_UUID}/logs"
echo ""
echo " List your applications:"
echo " curl -H \"X-API-Key: \$WRAPPER_API_KEY\" \\"
echo " ${WRAPPER_API}/applications"
echo " curl -H \"X-API-Key: \$SAAC_API_KEY\" \\"
echo " ${SAAC_API}/applications"
echo ""
# Save deployment info
@@ -208,14 +208,14 @@ Domain: $DOMAIN
Application UUID: $APP_UUID
Repository: $REPO_URL
Wrapper API: ${WRAPPER_API}
Your API Key: ${WRAPPER_API_KEY}
SAAC API: ${SAAC_API}
Your API Key: ${SAAC_API_KEY}
Monitor deployment:
curl -H "X-API-Key: \$WRAPPER_API_KEY" ${WRAPPER_API}/applications/${APP_UUID}/logs
curl -H "X-API-Key: \$SAAC_API_KEY" ${SAAC_API}/applications/${APP_UUID}/logs
Trigger manual deployment:
curl -X POST -H "X-API-Key: \$WRAPPER_API_KEY" ${WRAPPER_API}/applications/${APP_UUID}/deploy
curl -X POST -H "X-API-Key: \$SAAC_API_KEY" ${SAAC_API}/applications/${APP_UUID}/deploy
DEPLOYMENT_INFO
echo "💾 Deployment information saved to deployment-info.txt"