X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=c0e171bfd1a8a24c0a20907f666fd2c5bec2be21;hb=694a29878b0464423b308c1e5e9e90f9fadafd71;hp=b882b7d4c63202bc5e02a618529e3edee954f4ac;hpb=6b837fb41910caca65fdb6483d7b18f111908074;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index b882b7d4..c0e171bf 100644 --- a/myslice/config.py +++ b/myslice/config.py @@ -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;