This project is a voting site for Badgers versus Panda
Using node.js, the server sets up the following:
- Socket connect to communicate with client.
- Client webpage
This is currently deployable for dotcloud, but could be run in any environment that runs node.js.
- Install node
- Install npm
- Run:
npm install - Copy example settings and update appropriate values: cp lib/settings.example.js lib/settings.js`
- Run once:
node lib/db-setup.js- If you want to remove all the old votes, run:
node lib/db-setup.js --delete-votes
- If you want to remove all the old votes, run:
- Start server:
node lib/server.js
This would not be possible without all these great, open source projects: