-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using on Pages #30
Comments
Hey! When this project started, there were some issues I ran into with running it on Pages (I can't recall what though 😅) — but there's a good chance that those have been resolved since. If I'm able to find some time for it, I'll take a stab at migrating this! |
That'd be great, thanks! |
I ran into a couple challenges getting a pages setup going. First big thing is that you need to create a worker for the Durable Object and run it in parallel with the pages project locally (this is documented on pages in bindings section). I got it working locally but I had trouble getting the binding from pages to the Durable Object working right on the deployment. I ended up moving on from it but I think it can be done with a little persistence. Also if you're using a framework that uses Vite, getting the WebSockets working correctly is a pain |
Just found this thread - was anyone successful in making this work on Pages with the Durable Object as mentioned? |
Only with the manual tutorial given (npm run deploy). With the git integration the page is blank for some reason |
Are there instructions on how we could deploy this demo using Pages perhaps?
The text was updated successfully, but these errors were encountered: