conf.js.sample 1.56 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 35
            "Stanford-S22.vidjil",
            "L2-LIL-2.vidjil"
36 37
        ]
    },
38
    */
39

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

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

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

52 53 54 55 56 57

    /****************
     * Static alerts
     */

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