summaryrefslogtreecommitdiff
path: root/src/test/development_config.json
blob: 30cf10d7b572e4a433db09354726595f6e29f1d5 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: CC0-1.0

// Hydrilla development config file.
//
// Copyright (C) 2021 Wojtek Kosior
//
// Available under the terms of Creative Commons Zero v1.0 Universal.

// this config is meant to be used in development environment;
// unlike config.json, it shall not be included in distribution
{
    // Relative paths now get resolved from config's containing direcotry.
    "content_dir": "./example_content",

    // Except files from content_dir to be served there (used to redirect
    // clients).
    "static_resource_uri": "http://localhost:8000/",

    // Hydrilla will display this link to users as a place where they can
    // obtain sources for its software. This config option is meant to ease
    // compliance with the AGPL.
    "hydrilla_sources_uri": "https://git.koszko.org/pydrilla/",

    // Make Pydrilla error out on any warning
    "werror": true

    // With the below we can make Pydrilla look for missing content items in
    // another instance instead of just erroring/warning.
    // ,"hydrilla_parent": "https://api.hachette-hydrilla.org/0.2/"
}