Permalink
Browse files

GPII-50: updated gpii.js to match windows version.. Readded start.sh,…

… but without the build command being part of it (this was a bit akward to the the root requirement
  • Loading branch information...
1 parent f1a0ad0 commit e4af54967183b76dcfe96add21c331c51d0851a9 @kaspermarkus kaspermarkus committed Nov 16, 2012
Showing with 20 additions and 2 deletions.
  1. +4 −2 gpii.js
  2. +16 −0 start.sh
View
@@ -10,12 +10,14 @@ You may obtain a copy of the License at
https://github.com/gpii/universal/LICENSE.txt
*/
+/*global __dirname */
+
var fluid = require("universal"),
gpii = fluid.registerNamespace("gpii");
fluid.require("gsettingsBridge", require);
gpii.config.makeConfigLoader({
- nodeEnv: gpii.config.getNodeEnv(),
- configPath: gpii.config.getConfigPath() || "../node_modules/universal/gpii/node_modules/flowManager/configs"
+ nodeEnv: gpii.config.getNodeEnv("fm.ps.sr.dr.mm.os.development"),
+ configPath: gpii.config.getConfigPath() || "../node_modules/universal/gpii/configs"
});
View
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# GPII Linux Startup Script
+#
+# Copyright 2012 OCAD University
+#
+# Licensed under the New BSD license. You may not use this file except in
+# compliance with this License.
+#
+# You may obtain a copy of the License at
+# https://github.com/gpii/universal/LICENSE.txt
+
+fileName="gpii.js"
+
+# Start the Flow Manager
+node "$fileName" $1

0 comments on commit e4af549

Please sign in to comment.