Commit 835f70a8 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

conf.js.sample: light documentation

parent e0665971
...@@ -4,27 +4,35 @@ ...@@ -4,27 +4,35 @@
* */ * */
var config = { var config = {
/*cgi*/
/* Used for the 'align' script */
"cgi_address" : "http://127.0.1.1/cgi-bin/", "cgi_address" : "http://127.0.1.1/cgi-bin/",
/*database */ /* The following options control how the user may have access to .vidjil files.
* Any combination of 1), 2) and 3) should work
*/
/* 1) Patient database */
"use_database" : true, "use_database" : true,
"db_address" : "https://rbx.vidjil.org/vidjil/", "db_address" : "https://rbx.vidjil.org/vidjil/", // Public test server
"login" : "", "login" : "",
"password" : "", "password" : "",
/* you can use relative path if Vidjil browser is online on the same server /* 2) and 3) Static files
* or complete path to a CORS active server only if browser is offline or on another server /* - relative paths if Vidjil browser is online on the same server
* use an empty array [] if you don't want demo_file menu * - absolute paths to a CORS active server only if browser is offline or on another server
*/ */
/* 2) Menu with a list of static files */
"file_menu" : { "file_menu" : {
"path" : "/browser/demo_file/", "path" : "/browser/data/",
"file" : [ "file" : [
"A_BCD.data", "Stanford-S22.vidjil",
"L2-LIL-2.data" "L2-LIL-2.vidjil"
] ]
}, },
/* 3) Static file autoload, possibly with an .analysis file */
"autoload" : "data/Stanford-S22.vidjil"
// "autoload_analysis" : "data/Stanford-S22.analysis"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment