Skip to content

Messing around with Node.js, Socket.IO and Dust.js in order to organize office coffee brewing

Notifications You must be signed in to change notification settings

jimfarrand/coffeechatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeChatter

Messing around with Node.js, Socket.IO and Dust.js in order to organize office coffee brewing

Tech

Dev setup

  • Install node and add to your path
  • Setup proxy for npm (optional):

npm config set proxy http://HOST:PORT and npm config set https-proxy http://HOST:PORT

  • Install some dependencies

npm install dustjs-linkedin dustjs-helpers socket.io dust-compiler debug gravatar underscore

  • Compile the dust templates:

node node_modules/dust-compiler/lib/dust-compiler.js -s src/dusts/ -d public/js/compiled/ --bootstrap

  • If you are developing the dust templates then you can leave the compiler in watch mode

node node_modules/dust-compiler/lib/dust-compiler.js -s src/dusts/ -d public/js/compiled/

NOTE: on Ubuntu you need to type "nodjs" instead of "node"

Running

mkdir -p public/js/compiled

node app.js

open your web browser at http://HOST:7777/

About

Messing around with Node.js, Socket.IO and Dust.js in order to organize office coffee brewing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published