-
Thanks @AlemTuzlak for this excellent repo! I would like to deploy it in Cloudflare (probably Pages?). Is there any documentation available? Can you point me, please, to some example or guide? I have checked the hono, react-router and cloudflare pages but there seem to focus in there own ecosystem.. None of them show how to mix all 3 at the same time. Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I leave deployments to my co-founder @thomasfr and we usually go with Fly + Cloudflare CDN, I think it would be a matter of changing the hono adapter to CF and then deploying there, I think @rphlmr has done some work on this field but I'm not really sure how far along he has gotten it |
Beta Was this translation helpful? Give feedback.
-
Hi @nireak, |
Beta Was this translation helpful? Give feedback.
-
Thanks @thomasfr and @AlemTuzlak . I appreciate the detailed answer. I agree with you that fly.io is a very good platform where you can have full control. In my case I need the Durable Objects service that Cloudflare offers, so I will try to use the whole CF environment. The guide from hono you provided has been really very useful. Thanks a lot for your assistance and, please, keep the good work and your tutorials in youtube @AlemTuzlak ;) |
Beta Was this translation helpful? Give feedback.
Hi @nireak,
I am currently finishing the deployment of the base-stack to fly.io. We chose fly.io because it is one of the least opinionated "serverless" deployment options and does not require any extra request handlers. Therefore, even if you do not want to deploy the base-stack to fly.io, you won’t need to change much code. In fact, you can reuse the same
Dockerfile
and deploy it elsewhere, or you can ignore the Dockerfile and create your own bundling and deployment workflow without modifying the code.I mention this to explain why we opted against a different 'default' deployment target for our base-stack. That approach would complicate things for anyone who does not want to deploy to …