Fix: conflict config.py
[myslice.git] / myslice / config.py
index b882b7d..e6c2d25 100644 (file)
@@ -1,6 +1,18 @@
 class Config:
 
-#    manifold_server = 'demo.myslice.info'
-    manifold_server = 'debian04.pl.sophia.inria.fr'
-    manifold_port = '7080'
-    manifold_path = '/'
+# this version of unfold expects a backend that runs a new API
+
+# production should probably use https of course
+
+
+# if you use a development backend running on this box
+#    manifold_url = "http://localhost:7080/"
+# the INRIA setup
+#    manifold_url = "http://manifold.pl.sophia.inria.fr:7080/"
+# the OpenLab-wide backend as managed by UPMC
+#    manifold_url = "http://dev.myslice.info:7080/" # development version
+     manifold_url = "http://test.myslice.info:7080/" #stable version
+    # exporting these details to js
+    @staticmethod
+    def manifold_js_export ():
+        return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;