Glavin001 / SMMApp2

Saint Mary's Mobile App, Version 2.0 @
http://society.cs.smu.ca:7000
2 stars 0 forks source link

Setup Grunt for development #44

Closed Glavin001 closed 10 years ago

Glavin001 commented 10 years ago

Instead of using a templated website hosted by Nodejs' Express with Jade and other Middleware, we should switch to Grunt compiled static code, and host only our API off of a Node.js server.

This will allow SMU and others to deploy the static website files using Apache or Nginx, and offload that to any other server. Then run our Node.js server on another, or same, server and not have them coupled unnecessarily.

This will be a dramatic change and refactoring of code. Before any future development is done, do this to get ready.

See Getting Started for Grunt

Grunt Modules:

Glavin001 commented 10 years ago

Not going to use Grunt. Serving files with Node.js is sufficiently fast.

Glavin001 commented 10 years ago

Benchmark Nginx versus Node.js (with Cluster): http://centminmod.com/siegebenchmarks/2013/020313/index.html