lunch vote! (node.js+socket.io+knockout.js+jquery+scss)
JavaScript CSS Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
docs
public
src
.gitignore
README.md
app.cfg.EXAMPLE.json
build_sass_style.bat
debug_server.bat
index.html
install_node-inspector.bat
install_server.bat
package.json
server.js
start_node-inspector.bat
start_server.bat
this.sublime-project
view_node-inspector.url
vote.html
watch_sass_style.bat

README.md

lunch vote!

http://lunchvote.org

  • node.js
  • socket.io
  • knockout.js
  • jQuery
  • SCSS

To perform first-time setup, copy app.cfg.EXAMPLE.json to app.cfg.json and make any desired changes. Make sure Node.js is installed somewhere and run install_server.bat. If you plan to debug the server, also run install_node-inspector.bat. If you plan to make changes to styles, make sure Sass is installed first.

To start the server for development/testing, run start_server.bat.

To debug server side, run debug_server.bat, run start_node-inspector.bat, then run shortcut view_node-inspector

To make changes to the client-side javascript, edit src/*.js, then minify and save in public/*.min.js

To make changes to the stylesheets, run watch_sass_style.bat, edit src/*.css, then minify resulting public/*.css and save in public/*.min.css

To make changes to assets, edit directly in public/* (save psd sources in docs)

Data is stored in data/*