Rename project from Re:Link to Startover
Rebrand repository from "Re:Link" to "Startover" across the codebase. Updates include package names and scopes (@relink/* -> @startover/*), import paths, Next.js transpile settings, vitest name, UI text and docs, Dockerfile and CI/workflow names, deploy scripts and repo paths, and example/production env values. Also add auth-related env vars, an apps/web .env symlink, and small formatting/typing cleanups in several TSX/TS files and tests to accommodate the rename.
This commit is contained in:
+3
-3
@@ -2,14 +2,14 @@
|
||||
set -euo pipefail
|
||||
|
||||
# ===========================================
|
||||
# Re:Link Auto Deploy Script
|
||||
# Startover Auto Deploy Script
|
||||
# Triggered by Gitea webhook on push to main
|
||||
# ===========================================
|
||||
|
||||
APP_DIR="$HOME/relink"
|
||||
APP_DIR="$HOME/startover"
|
||||
LOG_FILE="$APP_DIR/deploy.log"
|
||||
LOCK_FILE="$APP_DIR/deploy.lock"
|
||||
GITEA_REPO="http://39.117.244.52:3000/geonhee/Re_Link.git"
|
||||
GITEA_REPO="http://39.117.244.52:3000/geonhee/startover.git"
|
||||
|
||||
log() {
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" | tee -a "$LOG_FILE"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#!/bin/bash
|
||||
# ===========================================
|
||||
# Re:Link Poll-based Auto Deploy
|
||||
# Startover Poll-based Auto Deploy
|
||||
# Checks Gitea for new commits every minute
|
||||
# ===========================================
|
||||
|
||||
APP_DIR="$HOME/relink"
|
||||
APP_DIR="$HOME/startover"
|
||||
REPO_DIR="$APP_DIR/repo"
|
||||
LOG_FILE="$APP_DIR/deploy.log"
|
||||
LOCK_FILE="$APP_DIR/deploy.lock"
|
||||
GITEA_REPO="http://39.117.244.52:3000/geonhee/Re_Link.git"
|
||||
GITEA_REPO="http://39.117.244.52:3000/geonhee/startover.git"
|
||||
BRANCH="main"
|
||||
|
||||
log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" >> "$LOG_FILE"; }
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
set -euo pipefail
|
||||
|
||||
# ===========================================
|
||||
# Re:Link IDC Server Setup Script
|
||||
# Startover IDC Server Setup Script
|
||||
# Run once on the IDC server to initialize
|
||||
# ===========================================
|
||||
|
||||
echo "=== Re:Link Server Setup ==="
|
||||
echo "=== Startover Server Setup ==="
|
||||
|
||||
# 1. Install Docker Compose V2 plugin
|
||||
echo "[1/5] Installing Docker Compose V2 plugin..."
|
||||
@@ -31,7 +31,7 @@ echo "Act Runner v${ACT_RUNNER_VERSION} installed."
|
||||
|
||||
# 3. Create app directory
|
||||
echo "[3/5] Creating application directory..."
|
||||
APP_DIR="$HOME/relink"
|
||||
APP_DIR="$HOME/startover"
|
||||
mkdir -p "$APP_DIR"
|
||||
cd "$APP_DIR"
|
||||
|
||||
@@ -71,7 +71,7 @@ echo " cd $APP_DIR"
|
||||
echo " act_runner register \\"
|
||||
echo " --instance http://39.117.244.52:3000 \\"
|
||||
echo " --token <REGISTRATION_TOKEN> \\"
|
||||
echo " --name relink-runner \\"
|
||||
echo " --name startover-runner \\"
|
||||
echo " --labels ubuntu-latest:host"
|
||||
echo ""
|
||||
echo "2. Start the runner service:"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Re:Link Gitea Webhook Receiver
|
||||
Startover Gitea Webhook Receiver
|
||||
Listens for push events and triggers deployment.
|
||||
"""
|
||||
|
||||
@@ -13,11 +13,11 @@ import sys
|
||||
from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
from datetime import datetime
|
||||
|
||||
WEBHOOK_SECRET = os.environ.get("WEBHOOK_SECRET", "relink-deploy-secret")
|
||||
DEPLOY_SCRIPT = os.path.expanduser("~/relink/deploy.sh")
|
||||
WEBHOOK_SECRET = os.environ.get("WEBHOOK_SECRET", "startover-deploy-secret")
|
||||
DEPLOY_SCRIPT = os.path.expanduser("~/startover/deploy.sh")
|
||||
DEPLOY_BRANCH = "main"
|
||||
PORT = int(os.environ.get("WEBHOOK_PORT", "9000"))
|
||||
LOG_FILE = os.path.expanduser("~/relink/webhook.log")
|
||||
LOG_FILE = os.path.expanduser("~/startover/webhook.log")
|
||||
|
||||
|
||||
def log(msg: str):
|
||||
|
||||
Reference in New Issue
Block a user