Week 12
Node and Web Socket
Introduction

1. Create a Folder

2. Use Terminal OR iTerm to Access the Folder

3. Install Node.js

Download

Install

4. Check if it is installed well

5. Install Socket.io


Installation Finished
1. Server.js
2. index.html
Files are made
Now Let's RUN IT!!

1. Go to Terminal

2. Check your Browser

localhost:3000/index.html
CTRL + C

killall node

SERVER

1. You need a Hosting Server

2. Access the server by SSH with terminal
3. Node can be installed at the Ubuntu(Any) server
4. Install Necessary NPM's : Node Package Manager
5. Once installed, you can browse the server

6. Upload Files

7. Go to the folder and RUN IT with Terminal

8. Go to 111.111.111.111:8000/index.html
http://YOUR_IP:8080/index.html
9. Ctrl + D to disconnect
Last updated
