Skip to content

This is an open source implementation of OpenCat for Team backend. You can deploy this backend service on Edges.

License

Notifications You must be signed in to change notification settings

C-Dao/opencatd_worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy OpenCat for Team on Cloudflare Worker

Version License: MIT

This is a open source implement of OpenCat for Team Backend.
You can deploy this backend service on Cloudflare Worker.
This Project use Cloudflare KV as backend database.

Deploy

1. Git clone the repo and enter repo

 cd ./opencatd_worker

2. Install dependencies

 yarn

3. Copy wrangler.bak.toml to wrangler.toml

 cp wrangler.bak.toml wrangler.toml

4. Create Cloudflare KV Namespace

 npx wrangler kv:namespace create OPENCAT_DB

5. Then, copy the created Cloudflare KV config into wrangler.toml

 kv_namespaces = [{ binding = "OPENCAT_DB", id = "xxxxxxxxxxx" }]

6. Custom domain

 routes = [{ pattern = "xxxxxxxx", custom_domain = true }]

6. Use wrangler deploy

yarn deploy

Dev

Run yarn start to start development

 yarn start

License

Copyright © 2023 BenMix.
This project is MIT licensed.

About

This is an open source implementation of OpenCat for Team backend. You can deploy this backend service on Edges.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •