How to deploy?
Learn how to deploy your Worker to CoreClaw.
Quick Steps
Section titled “Quick Steps”1. Prepare Your Project
Section titled “1. Prepare Your Project”Ensure your project has the required files:
├── main.py # Entry file├── requirements.txt # Dependencies├── input_schema.json # Input configuration├── sdk.py # CoreClaw SDK - Core functionality module├── sdk_pb2.py # Data processing enhancement module└── sdk_pb2_grpc.py # Network communication module2. Upload to CoreClaw
Section titled “2. Upload to CoreClaw”From the Console you can add a Worker in two ways: upload a ZIP archive, or import from GitHub (which also supports version management). See Deployment for the full comparison.
- Log in to CoreClaw Console
- Go to My Workers → Create Worker
- Either package your project as a ZIP file and upload it, or provide a GitHub repository URL
- Click Create
3. Automatic Processing
Section titled “3. Automatic Processing”CoreClaw has no Docker image build. After upload, the platform automatically prepares your Worker:
- Validates the project structure (entry file,
input_schema.json,output_schema.json) - Reads
requirements.txt/package.jsonand resolves dependencies - Prepares the script runtime with your dependencies
Monitor the logs for any errors. See Builds & Runs for details.
4. Test
Section titled “4. Test”Before publishing, test your Worker:
- Click Run Worker
- Enter test input
- Verify output
- Check logs
5. Publish
Section titled “5. Publish”- Configure Worker settings
- Set pricing (optional)
- Click Publish
Common Issues
Section titled “Common Issues”Build Timeout
Section titled “Build Timeout”Cause: Dependencies take too long to install
Solution:
- Minimize dependencies
- Pin dependency versions
Import Errors
Section titled “Import Errors”Cause: Missing dependencies
Solution:
- Check
requirements.txt/package.json - Ensure correct package names
File Not Found
Section titled “File Not Found”Cause: Incorrect file names
Solution:
- Runtime entry must be
main.pyfor Python,main.jsfor Node.js, or the compiled Linux amd64 executablemainfor Go - Check file paths in code