Rename project from komodo-demo to komodo

Repository renamed and all Komodo resources configured via API:

API Changes (completed):
- ✓ Renamed Gitea repository: komodo-demo → komodo
- ✓ Created Build resource: komodo-build
- ✓ Created Stack resource: komodo-stack (server: syn01)
- ✓ Created Sync resource: komodo-sync
- ✓ Updated webhooks with new resource names

File Updates:
- Updated all references from komodo-demo to komodo
- Removed "demo" tags from resources
- Updated package.json, docker-compose.yml, app.js
- Updated documentation and setup scripts

Integration fully configured via APIs!
This commit is contained in:
2025-12-14 14:46:47 -08:00
parent ff54f0e49e
commit a1d1900d99
6 changed files with 53 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# Komodo Setup Script for komodo-demo integration
# Komodo Setup Script for komodo integration
# Run this script on a machine that has network access to Komodo
set -e
@@ -64,15 +64,15 @@ echo "If no servers are listed, add one in Komodo UI or config."
echo ""
# Step 3: Create Build resource
echo "Step 3: Creating Build resource 'komodo-demo-build'..."
echo "Step 3: Creating Build resource 'komodo-build'..."
BUILD_CONFIG='{
"name": "komodo-demo-build",
"description": "Build Docker image for komodo-demo app",
"name": "komodo-build",
"description": "Build Docker image for komodo app",
"tags": ["demo", "gitea"],
"config": {
"git_provider": "gitea.straymoog.xyz",
"git_account": "stray",
"repo": "stray/komodo-demo",
"repo": "stray/komodo",
"branch": "main",
"build_path": ".",
"dockerfile_path": "Dockerfile"
@@ -89,19 +89,19 @@ fi
echo ""
# Step 4: Create Stack resource
echo "Step 4: Creating Stack resource 'komodo-demo-stack'..."
echo "Step 4: Creating Stack resource 'komodo-stack'..."
echo " → This requires a valid server_id"
echo " → Skipping automatic creation - please create via UI or update this script with server_id"
echo ""
# STACK_CONFIG='{
# "name": "komodo-demo-stack",
# "description": "Deploy komodo-demo app using docker-compose",
# "name": "komodo-stack",
# "description": "Deploy komodo app using docker-compose",
# "tags": ["demo", "gitea"],
# "config": {
# "server_id": "YOUR_SERVER_ID_HERE",
# "git_provider": "gitea.straymoog.xyz",
# "git_account": "stray",
# "repo": "stray/komodo-demo",
# "repo": "stray/komodo",
# "branch": "main",
# "file_paths": ["docker-compose.yml"]
# }
@@ -109,15 +109,15 @@ echo ""
# komodo_api "CreateStack" "write" "$STACK_CONFIG"
# Step 5: Create Resource Sync
echo "Step 5: Creating Resource Sync 'komodo-demo-sync'..."
echo "Step 5: Creating Resource Sync 'komodo-sync'..."
SYNC_CONFIG='{
"name": "komodo-demo-sync",
"name": "komodo-sync",
"description": "Sync Komodo resources from Git",
"tags": ["demo", "gitea"],
"config": {
"git_provider": "gitea.straymoog.xyz",
"git_account": "stray",
"repo": "stray/komodo-demo",
"repo": "stray/komodo",
"branch": "main",
"resource_path": ".komodo",
"commit_to_repo": false
@@ -154,5 +154,5 @@ echo "2. Restart Komodo core to load git provider"
echo "3. Execute the Resource Sync to import all resources"
echo "4. Test by pushing to the Git repository"
echo ""
echo "Repository: https://gitea.straymoog.xyz/stray/komodo-demo"
echo "Repository: https://gitea.straymoog.xyz/stray/komodo"
echo "======================================"