conf.js.sample 1.1 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

    /* Used for the 'align' script */    
9
    "cgi_address" : "http://127.0.1.1/cgi-bin/",
10
11
12
13
14
15

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

    /* 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
24
     */
25
26

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