Quick Start
Get TractStack up and running on your local machine in just a few minutes. This guide provides two paths to get started. Choose the one that works best for you.
- Path 1: Docker (Recommended): The easiest way to start. Runs TractStack in a self-contained environment without needing to install Go or Node.js on your machine.
- Path 2: Local Installation: For developers who want to set up the environment and edit the source code directly on their machine.
Path 1: Docker Installation (Recommended)
Section titled “Path 1: Docker Installation (Recommended)”This method uses Docker to run the TractStack sandbox. The only prerequisite is to have Docker installed and running.
For Linux & macOS
Section titled “For Linux & macOS”Copy and paste the following commands into your terminal.
1. Download and extract the Docker package
Section titled “1. Download and extract the Docker package”curl -O https://get.tractstack.com/t8k-docker.tar.gztar -xzf t8k-docker.tar.gzcd tractstack-docker2. Build the Docker image
Section titled “2. Build the Docker image”docker build -t tractstack-sandbox .3. Run the container
Section titled “3. Run the container”docker run -d --name my-tractstack-sandbox -p 4321:4321 -p 8080:8080 -v tractstack_data:/home/sandbox/t8k/t8k-go-server tractstack-sandboxFor Windows (PowerShell)
Section titled “For Windows (PowerShell)”Copy and paste the following commands into your PowerShell terminal.
1. Download and extract the Docker package
Section titled “1. Download and extract the Docker package”curl -OutFile t8k-docker.tar.gz https://get.tractstack.com/t8k-docker.tar.gztar -xzf t8k-docker.tar.gzcd tractstack-docker2. Build the Docker image
Section titled “2. Build the Docker image”docker build -t tractstack-sandbox .3. Run the container
Section titled “3. Run the container”docker run -d --name my-tractstack-sandbox -p 4321:4321 -p 8080:8080 -v tractstack_data:/home/sandbox/t8k/t8k-go-server tractstack-sandboxAccess Your Site
Section titled “Access Your Site”Once the container is running, your TractStack instance is ready.
- Access Your Site: http://localhost:4321
- Access StoryKeep (CMS): http://localhost:4321/storykeep
For additional commands, such as viewing logs, stopping the container, or performing a full reset, please refer to the README.md file in the extracted folder.
Path 2: Local Installation
Section titled “Path 2: Local Installation”Install the necessary dependencies and run the TractStack source code directly on your machine.
Prerequisites
Section titled “Prerequisites”Make sure you have these installed:
- Go 1.22 or higher
- Node.js 20 or higher (Node 24 is UNTESTED!! Use 20 or 22)
- Git
- npm
One-Line Installation
Section titled “One-Line Installation”This command will download the source code, install dependencies, and set up a local development environment.
curl -fsSL https://get.tractstack.com | bashManual Installation
Section titled “Manual Installation”If you prefer to download the installer first:
wget https://get.tractstack.com/t8k-install.shchmod +x t8k-install.sh./t8k-install.sh --quickStarting TractStack
Section titled “Starting TractStack”After installation, you’ll need two terminal windows.
Terminal 1: Start the Go Backend
cd ~/t8k/src/tractstack-go./tractstack-goTerminal 2: Start the Astro Frontend
cd ~/t8k/src/my-tractstackpnpm devAccess Your Site
Section titled “Access Your Site”Open your browser and go to:
You should see your TractStack site running!
Next Steps
Section titled “Next Steps”- Core Concepts Overview - Understand the key concepts
- Full Installation Guide - For production deployments
- User Guide - Learn to use StoryKeep CMS