Skip to content

How to deploy?

Learn how to deploy your Worker to CoreClaw.

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 module

Currently, only ZIP archive files are supported for uploading scripts.

  1. Log in to CoreClaw Console
  2. Go to My WorkersCreate Worker
  3. Package your project as a ZIP file
  4. Upload the ZIP archive
  5. Click Create

After upload, CoreClaw automatically builds your Worker:

  1. Installs dependencies
  2. Sets up the script runtime environment
  3. Runs build checks

Monitor the build logs for any errors.

Before publishing, test your Worker:

  1. Click Run Worker
  2. Enter test input
  3. Verify output
  4. Check logs
  1. Configure Worker settings
  2. Set pricing (optional)
  3. Click Publish

Cause: Dependencies take too long to install

Solution:

  • Minimize dependencies
  • Pin dependency versions

Cause: Missing dependencies

Solution:

  • Check requirements.txt / package.json
  • Ensure correct package names

Cause: Incorrect file names

Solution:

  • Entry file must be main.py / main.js / main.go
  • Check file paths in code