Video 1
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Video 1
[youtubehd]http://www.youtube.com/watch?v=XR8Sgp3uNqQ[/youtubehd]
Re: Video 1
Congrats halls! I really need some knowledges about sockets, mud, generally "real time" things
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 1
This will be using and teaching Javascript, HTML5, Nodejs, Jquery, and Twitter Bootstrap.
Re: Video 1
Sweet, the things I have been wanting to learn !hallsofvallhalla wrote:This will be using and teaching Javascript, HTML5, Nodejs, Jquery, and Twitter Bootstrap.
Help with node app.js
So I am running into an issue. If a click on the index file, after installing socket IO, everything works great.
But if I try localhost:8080 it only shows the text "players online" and the input box, and say button.
Basically after the client authorized for line in the command prompt of node app.js, it only authorized for two things:
debug - client authorized for
debug - websocket writing 1::
debug - websocket 5::("name":"playerlist","args":[["player8735"]]
If I click on the index.html file in windows explorer it works perfect and I Can bring up multiple browsers and chat with myself.
For some reason the server part of it is not allowing data to go through.
I have it online and running now http://grimoirebbs.sytes.net:8080/
You will see the "players online" text and the input box, nothing else.
Edit: Here is a screenshot [https://docs.google.com/file/d/0B6o0hQo ... sp=sharing
EDIT: Issue resolved, I need to go in on port 80 through the webserver, and not port 8080. Works perfect.
But if I try localhost:8080 it only shows the text "players online" and the input box, and say button.
Basically after the client authorized for line in the command prompt of node app.js, it only authorized for two things:
debug - client authorized for
debug - websocket writing 1::
debug - websocket 5::("name":"playerlist","args":[["player8735"]]
If I click on the index.html file in windows explorer it works perfect and I Can bring up multiple browsers and chat with myself.
For some reason the server part of it is not allowing data to go through.
I have it online and running now http://grimoirebbs.sytes.net:8080/
You will see the "players online" text and the input box, nothing else.
Edit: Here is a screenshot [https://docs.google.com/file/d/0B6o0hQo ... sp=sharing
EDIT: Issue resolved, I need to go in on port 80 through the webserver, and not port 8080. Works perfect.
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Video 1
i was just thinking that as I was reading your post. You can use the node server as a webhost but you must set things up differently.
Re: Video 1
FYI, I had an error trying to follow the instructions:
http://stackoverflow.com/questions/2507 ... pm-package
If you run into the same problem, this post on Stack shows how to simply solve it. It worked for me, I got the same results as Halls in the video now:Error: ENOENT, stat 'C:\Users\yourUserName\AppData\Roaming\npm
http://stackoverflow.com/questions/2507 ... pm-package
"In order to understand recursion, one must first understand recursion".