Skip to content

Commit 8b26a00

Browse files
author
dphuang2
committed
Update self-hosting README to clarify Cloudflare Account ID and CDN URL configuration steps
1 parent a26197f commit 8b26a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/konfig-next-app/self-host/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
![domain done](domain-complete.png)
2424
1. You need to ensure that the codebase includes a mapping of your domain to the github repo. Go to [generator/konfig-next-app/src/utils/domain-to-repo-mappings.ts](../src/utils/domain-to-repo-mappings.ts) and add your domain as a key and owner/repo as the value. Look at existing entries for examples.
2525
1. The GitHub App ID also needs to be updated to the ID of the GitHub App you created earlier. Go to [octokit.ts](../src/utils/octokit.ts) and edit `APP_ID` at the top of the file with your app's ID. Again, you can use the GitHub edit UI to do this.
26-
1. The Cloudflare Account ID also needss to be updated to be the ID of the Cloudflare account you created earlier. Go to [cloudflare-images-from-github.ts](../src/utils/cloudflare-image-from-github.ts) and replace the `account_id` variable with your own account ID.
26+
1. The Cloudflare Account ID and CDN URL also needs to be updated to be the values from the Cloudflare account you created earlier. Go to [cloudflare-images-from-github.ts](../src/utils/cloudflare-image-from-github.ts) and replace the `account_id` variable and `cdnUrl` function with your own account ID and CDN URL.
2727
1. Deploy `konfig-demo-portal` off latest commit. If you want, you can also enable auto-deploys if you don't want to manually click deploy anymore: https://render.com/docs/deploys#automatic-git-deploys.
2828
![deploy](deploy.png)
2929
1. Once your services are deployed correctly, which can take 30 minutes or more because its building the entire Konfig monorepo, you should be able to go to your custom domain and the docs should show.

0 commit comments

Comments
 (0)