Commits

Sean Wilkinson committed daf2a15

Cleaned up the "web-service" target a little bit

  • Participants
  • Parent commits 6f1b963

Comments (0)

Files changed (2)

src/web-service/package.json

         "email": "sean@mathbiol.org"
     },
     "dependencies": {
-        "qm": ">= 0.4"
+        "qm": "0.4.4"
     },
     "engines": {
         "node": "0.8.x",
         "npm":  ">= 1.1.2"
     },
-    "name": "MOTHERSHIP",
+    "name": "web-service",
     "private": true,
     "readme": "(no documentation)",
     "scripts": {},

src/web-service/server.js

 
 //- server.js ~~
 //                                                      ~~ (c) SRW, 06 Oct 2012
-//                                                  ~~ last updated 21 Dec 2012
+//                                                  ~~ last updated 10 Feb 2013
 
 (function () {
     'use strict';
  // Invocations
 
     if (process.env.IP !== undefined) {
-     // This is for debugging on Cloud9, if memory serves ...
+     // This is for debugging on Cloud9.
         options.hostname = process.env.IP;
     }
 
     }
 
     if (process.env.QM_API_STRING !== undefined) {
-     // This is a custom environment variable I use with Heroku and AppFog.
+     // This is a custom environment variable I define prior to deployment.
         options.enable_api_server = true;
         options.enable_CORS = true;
         options.persistent_storage = JSON.parse(process.env.QM_API_STRING);
     }
 
     if (process.env.QM_WWW_STRING !== undefined) {
-     // This is a custom environment variable I use with Heroku and AppFog.
+     // This is a custom environment variable I define prior to deployment.
         options.enable_www_server = true;
         options.static_content = process.env.QM_WWW_STRING;
     }
 
     if (process.env.VMC_APP_PORT !== undefined) {
-     // This is for use with AppFog.
+     // This is for use with Cloud Foundry platforms.
         options.hostname = null;
         options.port = process.env.VMC_APP_PORT;
     }