forked from Siege-Perilous/tableslayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
poiromaniax edited this page Sep 11, 2025
·
2 revisions
Welcome to the complete TableSlayer self-hosting documentation! This wiki will guide you through setting up your own TableSlayer instance with your own infrastructure and services.
This work is a fork of the fantastic TableSlayer Project. All intellectual property rights belong to them. Due to their generosity of allowing the enthusiast to self host, the code is available to us. Thank you Siege Perilous team!
A fully functional TableSlayer deployment with:
- Real-time synchronization between admin UI and playfield
- Fog changes syncing properly using self-hosted R2 URLs
- Google OAuth signup working without errors
- Docker deployment with proper production setup
- Database migrations for production environment
- Prerequisites - System requirements and required accounts
- Service Setup - Configure Turso, R2, PartyKit, Resend, and Google OAuth
- Code Modifications - Critical bug fixes and required changes
- Configuration - Environment variables and settings
- Deployment - Docker setup and production deployment
- Troubleshooting - Common issues and solutions
- Maintenance - Updates, backups, and ongoing care
- Asset Configuration - Managing images, effects, and illustrations
- Check Prerequisites β Ensure you have required accounts and server access
- Setup Services β Configure external services (database, storage, etc.)
- Modify Code β Apply critical bug fixes
- Configure Environment β Set up production environment variables
- Deploy β Use Docker Compose for production deployment
- Production Ready: Tested implementation with real-world fixes
- Comprehensive: Covers all aspects from setup to maintenance
- Docker Based: Easy deployment with Docker Compose
- Fully Self-Hosted: No dependencies on original TableSlayer services
- Asset Management: Clear guidance on handling game assets
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Your Domain βββββΆβ TableSlayer βββββΆβ Turso DB β
β β β (Docker) β β β
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β External Services β
β β’ PartyKit (RT) β
β β’ Cloudflare R2 β
β β’ Resend (Email) β
β β’ Google OAuth β
ββββββββββββββββββββ
- Database: Turso (LibSQL/SQLite)
- Storage: Cloudflare R2
- Real-time: PartyKit
- Email: Resend
- Auth: Google OAuth
- Deployment: Docker + Docker Compose
- Reverse Proxy: Nginx (recommended)
Make sure you understand:
- Basic Docker and Linux server administration
- DNS configuration for your domain
- Environment variable management
- Basic database concepts
Ready to begin? Start with Prerequisites!
This documentation is based on a successful production deployment that resolved critical issues with real-time synchronization and Google OAuth. The implementation has been tested and verified to work in production.