mirror of
https://github.com/sailor-sh/CK-X.git
synced 2026-02-14 09:29:53 +00:00
2.9 KiB
2.9 KiB
CK-X Simulator Deployment Guide
This guide provides instructions for deploying the CK-X Simulator on different operating systems.
Prerequisites
- Docker Desktop (Windows/Mac) or Docker Engine (Linux)
- 4GB RAM minimum (8GB recommended)
- 10GB free disk space
- Internet connection
- Port 30080 available
Quick Install
Linux & macOS
Open Terminal and run:
curl -fsSL https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.sh | bash
or, if the current user does not have the permission to run docker commands:
curl -fsSL https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.sh | sudo bash
Windows
Open PowerShell as Administrator and run:
irm https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.ps1 | iex
Manual Installation
By cloning the repository
-
Clone the repository:
git clone https://github.com/nishanb/CK-X.git cd CK-X -
Build and start the services using Docker Compose:
docker compose up -d
Via Script
If you prefer to install manually or the quick install doesn't work:
-
Download the installation script:
- Linux/macOS: install.sh
- Windows: install.ps1
-
Run the script:
- Linux/macOS:
chmod +x install.sh ./install.sh - Windows (in PowerShell as Administrator):
.\install.ps1
- Linux/macOS:
Post-Installation
After successful installation, you can access CK-X Simulator at:
http://localhost:30080
Managing CK-X Simulator
Start Services
docker compose up -d
Stop Services
docker compose down
View Logs
docker compose logs -f
Update
docker compose pull
docker compose up -d
Troubleshooting
Common Issues
-
Port 30080 Already in Use
- Check what's using the port:
- Windows:
netstat -ano | findstr :30080 - Linux/Mac:
lsof -i :30080
- Windows:
- Stop the conflicting service or change the port in docker-compose.yml
- Check what's using the port:
-
Docker Not Running
- Windows/Mac: Start Docker Desktop
- Linux:
sudo systemctl start docker
-
Permission Issues
- Windows: Run PowerShell as Administrator
- Linux: Add user to docker group or use sudo
-
Services Not Starting
- Check logs:
docker compose logs -f - Ensure sufficient system resources
- Check logs:
Getting Help
If you encounter issues:
- Check the logs:
docker compose logs -f - Visit our GitHub Issues
- Contact support with logs and system information
Uninstallation
To completely remove CK-X Simulator:
# Stop and remove containers
docker compose down
# Remove downloaded files
cd ..
rm -rf ck-x-simulator