conf.js.sample 1.25 KB
Newer Older
Mathieu Giraud's avatar
Mathieu Giraud committed
1 2 3
/* 
 * Vidjil browser, main configuration file
 * This file must be named 'js/conf.js' to be taken into account
4 5 6
 * */

var config = {
7

8 9 10
    /* Used for the 'align' script 
     * If this is not defined, the 'align' button is not available
     */    
11 12
    "cgi_address" : "http://rbx.vidjil.org/cgi/", // Public test server
    // "cgi_address" : "http://127.0.1.1/cgi-bin/",
13 14 15 16 17 18

    /* 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 */
19
    "use_database" : true,
20
    "db_address" : "https://rbx.vidjil.org/vidjil/", // Public test server
21
    "login" : "",
22
    "password" : "",
23 24 25 26

    /* 2) and 3) Static files
    /* - relative paths if Vidjil browser is online on the same server
     * - absolute paths to a CORS active server only if browser is offline or on another server 
Marc Duez's avatar
Marc Duez committed
27
     */
28 29

    /* 2) Menu with a list of static files */
30
    "file_menu" : {
31
        "path" : "/browser/data/",
32
        "file" : [
33 34
            "Stanford-S22.vidjil",
            "L2-LIL-2.vidjil"
35 36
        ]
    },
37
    
38 39 40 41
    /* 3) Static file autoload, possibly with an .analysis file */
    "autoload" : "data/Stanford-S22.vidjil"
    // "autoload_analysis" : "data/Stanford-S22.analysis"
}