awestover / chatTest

Basic node chat application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatTest

Website at: https://chat-amw.herokuapp.com/

cd newDir

cp files

npm init

Add to packages.json "dependencies": { "express": "^4.15.3", "socket.io": "^2.0.3" }

npm install

git init

git add .

git commit -m "sadf"

heroku create

heroku buildpacks:set heroku/nodejs

git remote -v heroku

https://fast-island-27810.herokuapp.com/ | https://git.heroku.com/fast-island-27810.git

git push heroku master

heroku open

GOOD DOCS

heroku has some good documentation too like this:

(usefull if you want to get the remote to update it...) https://devcenter.heroku.com/articles/git

COOL CODE

window.scrollTo(0,document.body.scrollHeight); scroll to the bottom of the screen!!!

About

Basic node chat application


Languages

Language:HTML 83.9%Language:JavaScript 16.1%