X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=f6285b25571b7271d29ab1f9754b34ea257f6bf8;hb=1aea42c3668602aacfe22bc762ee939672129f53;hp=b882b7d4c63202bc5e02a618529e3edee954f4ac;hpb=6b837fb41910caca65fdb6483d7b18f111908074;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index b882b7d4..f6285b25 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 manifol + # exporting these details to js + @staticmethod + def manifold_js_export (): + return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;