conf.js.sample 1.96 KB
Newer Older
1
/*
Mathieu Giraud's avatar
Mathieu Giraud committed
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
     * If this is not defined, the 'align' button is not available
10
     */
Mikaël Salson's avatar
Mikaël Salson committed
11
    "cgi_address" : "https://db.vidjil.org/cgi/", // Public test server
12
    // "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://db.vidjil.org/vidjil/", // Public test server
21
    "login" : "",
22
    "password" : "",
23
24
25

    /* 2) and 3) Static files
    /* - relative paths if Vidjil browser is online on the same server
26
     * - 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
    /*
31
    "file_menu" : {
32
        "path" : "/browser/data/",
33
        "file" : [
34
            "Stanford-S22.vidjil",
35
36
            "L2-LIL-2.vidjil",
            "http://www.vidjil.org/2016-lr/demo/LIL-L2.vidjil"
37
38
        ]
    },
39
    */
40

41
    /* 3) Static file autoload, possibly with an .analysis file */
42
    // "autoload" : "data/Stanford-S22.vidjil",
43
    // "autoload_analysis" : "data/Stanford-S22.analysis"
44
45

    // Proxy config for IMGT querying
46
    /*
47
    "proxy": "https://db.vidjil.org/vidjil/proxy/imgt"
48
    */
49
50

    /* Used for the standalone segmenter page */
Mikaël Salson's avatar
Mikaël Salson committed
51
    "segmenter_address" : "https://db.vidjil.org/vidjil/segmenter",
52

53
54
    /* Do we have access to a CloneDB ? */
    "clonedb": false,
55

56
57
58
    /* Load extra scripts */
    /* "addons" : ["js/lib/important-lib.js", "js/myscript.js"], */

59
60
61
    /****************
     * Tips of the day
     */
62
    "doc_address" : "doctips/",
63
64
    "available_tips" : [ ] ,
    //                 [ 'T01', 'T02', 'T03', 'T30', 'T31', 'T32' ],
65

66
67
68
69
70
    /****************
     * Static alerts
     */

    // "alert": "Rescue server",
71
}