nashibao / mongoose-socket-knockout

test for mongoose-socket and mongoose-knockout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mongoose-socket-knockout

mongoose -> html binding with socket.io and knockout.js

1. dependencies

client side

mongoose-knockout

  • knockout.js
  • component/component

server side

mongoose-socket

  • node.js
  • express.js
  • mongoose(mongodb)

2. how to run the test

  • 2.1 require mongodb, clone this repo and prepare submodules.
  • 2.2 install express and component globally
cd mongoose-socket
npm install express component -g
  • 2.3 install npm modules
npm install
  • 2.4 prepare components
cd source/public/component
make
  • 2.5 compile
cd mongoose-socket
grunt
  • (2.6) watch grunt to compile
grunt watch
  • 2.7 run
./app.sh

3. no api documents!

if you would like to use this module, please view these script files.

client side

https://github.com/nashibao/mongoose-socket-knockout/blob/master/source/public/component/index.coffee

server side

https://github.com/nashibao/mongoose-socket-knockout/blob/master/source/apps/message/index.coffee

License

The MIT License

About

test for mongoose-socket and mongoose-knockout


Languages

Language:CoffeeScript 77.9%Language:JavaScript 21.6%Language:Shell 0.5%