Local Setup Guide
Prerequisites
- • Active YaarAI account
- • Admin privileges on your machine (for installation)
- • Stable internet connection
1. Access CodeRunner Tab
-
1
Log in to your YaarAI account and navigate to the CodeRunner tab
-
2
Review any existing runners in the list (if previously set up)
-
3
Click the "Register New Runner" button
-
4
Copy and securely store your generated:
- • Server URL
- • Token
2. Download CodeRunner
3. Installation & Configuration
3.1 Extract the Archive
unzip coderunner.zip
3.2 Configure the Runner
./coderunner register --server-url serverUrl --token YOUR_TOKEN
Replace serverUrl and YOUR_TOKEN with the values from Step 1
3.3 Start the Runner
./coderunner start-runner
4. Setup Docker Desktop
4.1 Download & Install Docker Desktop
Important:
Keep Docker Desktop running whenever you want to test code execution through YaarAI.
5. Verify Setup
- Ensure CodeRunner is running (you should see status messages in the terminal)
- Verify Docker Desktop is running
- Check the CodeRunner tab in YaarAI to confirm your runner is connected
- Try running a test script through the platform
Troubleshooting
If you encounter any issues during setup:
- Verify your network connection
- Ensure Docker Desktop is running properly
- Check CodeRunner logs for error messages
- Verify your token and server URL are correct