-
Notifications
You must be signed in to change notification settings - Fork 2
Infrastructure
Michael "Z" Goddard edited this page Feb 21, 2014
·
1 revision
-
socket.io
-
cloak
-
express
-
backbone.js
-
grunt
-
AMD
-
jade
- mocha with tdd interface
- chai with assert interface
- testem
-
grunt
- test
- shell
NODE_ENV=development node src
Launch the root server for convenience.
-
grunt test
- lint
- testem ci
-
grunt prod
- test
- compile to
/dist
The server uses the NODE_ENV
environment variable idiom.
-
NODE_ENV=development node src
instructs the server to run in development mode. -
NODE_ENV=production node src
instructs the server to run in production mode.
-
src
Folder containing all source: Javascript, CSS superset, and templates.-
activities
Folder containing subfolders for activities.-
cacao
Folder containing source related to only cacao.-
client
Folder containing client side source.-
styles
CSS superset source for cacao. -
templates
Jade files for cacao. -
*.js
Javascript files for cacao. -
main.js
The client-side main js file.
-
-
server
Folder containing server side source. -
index.js
convenience script for cacao server.
-
-
-
client
Client side generic code. -
server
Server side generic code. -
index.js
convenience script for server.
-
Gruntfile.js
package.json