your personal website on atproto - mirror blento.app

update selfhosting

Florian 5c1a5855 34b8191b

+17 -3
+17 -3
docs/Selfhosting.md
··· 1 # Selfhosting with cloudflare workers 2 3 - - fork this repo 4 - - create a cloudflare worker application and connect it to your fork 5 - - change the vars in `wrangler.jsonc` (including https:// in the PUBLIC_DOMAIN var!) 6 7 ```json 8 "vars": { ··· 11 "PUBLIC_DOMAIN": "https://your-cloudflare-worker-or-custom-domain.com" 12 } 13 ``` 14 15 DONE :) your blento should be live after a minute or two at `your-cloudflare-worker-or-custom-domain.com` and you can edit it by signing in with your bluesky account at `your-cloudflare-worker-or-custom-domain.com/edit`
··· 1 # Selfhosting with cloudflare workers 2 3 + 1. fork this repo 4 + 2. create a cloudflare worker application and connect it to your fork 5 + 3. change the vars in `wrangler.jsonc` (including https:// in the PUBLIC_DOMAIN var!) 6 7 ```json 8 "vars": { ··· 11 "PUBLIC_DOMAIN": "https://your-cloudflare-worker-or-custom-domain.com" 12 } 13 ``` 14 + 15 + 4. remove the kv_namespaces from the `wrangler.jsonc` 16 + 17 + ```json 18 + "kv_namespaces": [ 19 + { 20 + "binding": "USER_DATA_CACHE", 21 + "id": "d6ff203259de48538d332b0a5df258a7", 22 + "remote": true 23 + } 24 + ] 25 + ``` 26 + 27 + 5. (maybe necessary? will improve performance at least) create your own kv store by running `npx wrangler kv namespace create USER_DATA_CACHE` and when asked add it to the `wrangler.jsonc` 28 29 DONE :) your blento should be live after a minute or two at `your-cloudflare-worker-or-custom-domain.com` and you can edit it by signing in with your bluesky account at `your-cloudflare-worker-or-custom-domain.com/edit`