Skip to content

Latest commit

 

History

History

StartStopScripts

README.md

StartStopScripts

Server-0 Overview

Windows batch scripts for starting/stopping OpenClone development environment components.

Usage

run-all.bat                   # Start all services

Individual components:

Database\start.bat           # PostgreSQL (port 5433)
SadTalker\start.bat         # AI video service (port 5001) 
U-2-Net\start.bat           # Image processing (port 5002)
OpenClone\start.bat         # Main website (port 8080)
LogViewer\start-local.bat   # Monitoring dashboard
WebPack\start.bat           # Frontend development server

Claude Code integration:

Claude\start.bat            # Shared terminals + screenshot capture
Claude\stop.bat             # Cleanup sessions

Windows Terminal Themes

All scripts use branded Windows Terminal profiles for better visual organization. To get the themed terminals with custom colors and icons:

  1. Install Icon: In WindowsTerminal/OpenCloneTerminalSchemes.json repoint C:\\Users\\seanm\\Desktop\\OpenClone\\StartStopScripts\\WindowsTerminal\\terminal-icon.ico to the location on your disk.
  2. Import Terminal Profiles: Copy the contents of WindowsTerminal/OpenCloneTerminalSchemes.json into your Windows Terminal settings

Without these profiles, scripts will fall back to default terminal appearance but will still function normally.

Requirements

  • Windows with Docker Desktop
  • OpenClone_ environment variables configured (see root README.md)
  • WSL2 for shared terminal functionality

Additional Environment Variables for HTTPS Self-Hosting

Only required if using HTTPS self-hosting with Let's Encrypt certificates:

OpenClone_Self_Hosting_Domain=your-domain.com     # Your domain name
OpenClone_Admin_Email=admin@your-domain.com       # Email for Let's Encrypt registration

These variables are used by the Website container's built-in SSL certificate management system. Self-signed certificates are generated automatically if these are not set.

File Structure

StartStopScripts/
├── run-all.bat
├── Claude/                 # Claude Code integration tools
├── Database/               # PostgreSQL container scripts
├── Docker/                 # Docker Desktop management
├── LogViewer/              # Monitoring scripts (local/remote)
├── OpenClone/              # Main application scripts
├── SadTalker/              # AI video generation scripts
├── U-2-Net/                # Image processing scripts
└── WebPack/                # Frontend development scripts

All containers use openclone-* naming convention. Scripts implement stop-then-start patterns for clean restarts.