-
Notifications
You must be signed in to change notification settings - Fork 15
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
Not able to run the demo #24
Comments
Oh, interesting! Checking it out ... |
Some of this code is definitely out-of-date. I'm updating it now. |
This code is very out-of-date. I'm working on fixing it, but in the meantime, I'd work from the examples at https://www.npmjs.com/package/braid-http and the test server inside the |
Do you mean the example in the readme ? Because I was not able to make them work, but maybe it because of a lack of understanding of braid. I could give it another try after digging more into braid's documentation.
I was able to make it run, but |
Yes, I did mean the examples in the readme. I am surprised that they, and the test/ server, are not working for you. Let's try to debug this 1-1! I'll send you an email. |
I've updated the demo, and renamed it to |
It looks like this is why the demo was failing: The |
Can you copy and paste the section under "Our Results" into here from one of the red runs? (Note that I just renamed it to "Your Server's Responses" in master to be clearer.) |
Without the latest change, that was the result I was having:
From firefox However, use google's chromium I had 100% green pages |
Was able to run the In Should this be |
Ah, yes I haven't updated the chat demo — that looks right! There might be other changes necessary to get it up to speed too... digging in... |
BTW, these demos are poorly named — the difference is that the "blog" fetches an index of posts, and then each individual post separately, whereas the "chat" fetches an array of all the post data. You might also check out the braidmail repo, which is an elaboration of the "blog" approach: |
I've fixed the chat demo. I'm sorry for allowing broken code to lay around. Thank you for bringing it to our attention! |
Hello,
I was not able to run the demo from braid-http/demos/chat
is it up to date ?
I had to edit server.js +19 to
var braidify = require('../blog3/braidify-server')
and even after that I got:
GET https://localhost:3009/chat net::ERR_CONNECTION_REFUSED
errors in the console when browsinghttps://localhost:3009/
The text was updated successfully, but these errors were encountered: