X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=e6c2d25b2efaa0569fbc9a3f8bebc53e834a15e6;hb=ee60f435987235b078b8b4693a3f916e1fdb83a8;hp=4fe5aa35fb96b2cf3da3d72b293fecd727a04914;hpb=6373f4c6f48b4a2e049372ad6c6dd4adf9c95b69;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index 4fe5aa35..e6c2d25b 100644 --- a/myslice/config.py +++ b/myslice/config.py @@ -1,10 +1,18 @@ class Config: -# manifold_server = 'manifold.pl.sophia.inria.fr' - manifold_server = 'demo.myslice.info' - 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_url (): - return "http://%s:%s%s"%(Config.manifold_server,Config.manifold_port,Config.manifold_path) + def manifold_js_export (): + return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;