config.json 3.19 KB
Newer Older
Benoit Lavenier's avatar
Benoit Lavenier committed
1 2
{
  "default": {
Benoit Lavenier's avatar
Benoit Lavenier committed
3
    "fallbackLanguage": "fr-FR",
4 5 6 7 8 9 10
    "defaultLanguage": "fr-FR",
    "timeout": 300000,
    "cacheTimeMs": 300000,
    "useLocalStorage": true,
    "rememberMe": true,
    "useRelative": false,
    "decimalCount": 2,
11
    "shareBaseUrl": "http://gchange.fr",
12 13 14 15 16 17 18 19 20 21 22
    "helptip": {
      "enable": false
    },
    "node": {
      "host": "g1.duniter.fr",
      "port": "443"
    },
    "plugins":{
      "es": {
        "enable": true,
        "host": "data.gchange.fr",
23
        "port": "443",
24 25
        "maxUploadBodySize": 2097152,
        "defaultCountry": "France"
26 27
      },
      "market": {
28
        "enable": true,
29
        "searchDistance": "20km",
30 31 32 33
        "cesiumApi": {
          "enable": true,
          "baseUrl": "https://g1.duniter.fr/api"
        }
34 35 36 37 38
      }
    }
  },

  "test-vide-grenier": {
39
    "defaultLanguage": "fr-FR",
Benoit Lavenier's avatar
Benoit Lavenier committed
40 41
    "timeout": 4000,
    "cacheTimeMs": 60000,
42 43
    "useLocalStorage": true,
    "rememberMe": true,
44 45
    "useRelative": false,
    "decimalCount": 2,
46
    "shareBaseUrl": "http://gchange.fr",
47 48 49
    "helptip": {
      "enable": false
    },
Benoit Lavenier's avatar
Benoit Lavenier committed
50
    "node": {
51
      "host": "g1.duniter.fr",
52 53 54
      "port": "443"
    },
    "login": {
55 56
      "templateUrl": "plugins/market/templates/login/modal_simple_login.html",
      "controller": "MarketLoginModalCtrl"
Benoit Lavenier's avatar
Benoit Lavenier committed
57 58 59 60
    },
    "plugins":{
      "es": {
        "enable": true,
Benoit Lavenier's avatar
Benoit Lavenier committed
61
        "host": "data.gchange.fr",
62 63
        "port": "443",
        "defaultCountry": "France"
64 65
      },
      "market": {
Benoit Lavenier's avatar
Benoit Lavenier committed
66
        "enable": true,
67 68 69 70
        "defaultCurrency": "€",
        "homeMessage": "<i class=\"icon ion-location\"></i> Vide-grenier de Villiers-charlemagne",
        "defaultTags": [
          {
71
            "tag": "VideGrenier",
72 73 74
            "name":  "Vide-grenier"
          },
          {
75
            "tag": "VillersCharlemagne2017",
76 77 78
            "name":  "Vide-grenier de Villiers-charlemagne"
          }
        ],
79 80 81 82
        "defaultAdminPubkeys": [
          "CohjkoP5YnqzTV2wwdCFND74BDDmDR7dAQEPGt4tj2Tw",
          "GWAKPVoMdQw1LYqcWW8jckzox9VwNXGt6cQ1L5gNt3E9"
        ],
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
        "record": {
          "type": {
            "show": false,
            "default": "offer",
            "canEdit": false
          },
          "category": {
            "show": true,
            "filter": "localSale"
          },
          "description": {
            "show": false
          },
          "location": {
            "show": true,
            "required": true,
            "label": "MARKET.LOCAL_SALE.LOCATION",
            "help": "MARKET.LOCAL_SALE.LOCATION_HELP",
            "prefix": "MARKET.LOCAL_SALE.LOCATION_PREFIX"
          },
          "unit": {
            "canEdit": false
105 106 107
          },
          "fees": {
            "show": false
108 109
          }
        }
Benoit Lavenier's avatar
Benoit Lavenier committed
110 111 112 113 114
      }
    }
  },

  "dev": {
115
    "defaultLanguage": "fr-FR",
116 117
    "timeout": 300000,
    "cacheTimeMs": 300000,
Benoit Lavenier's avatar
Benoit Lavenier committed
118 119
    "useLocalStorage": true,
    "rememberMe": true,
120 121 122
    "helptip": {
      "enable": false
    },
Benoit Lavenier's avatar
Benoit Lavenier committed
123
    "node": {
124
      "host": "g1.duniter.fr",
Benoit Lavenier's avatar
Benoit Lavenier committed
125
      "port": "443"
Benoit Lavenier's avatar
Benoit Lavenier committed
126 127 128
    },
    "plugins":{
      "es": {
Benoit Lavenier's avatar
Benoit Lavenier committed
129
        "enable": true,
Benoit Lavenier's avatar
Benoit Lavenier committed
130 131
        "host": "localhost",
        "port": "9200",
132 133
        "wsPort": "9400",
        "defaultCountry": "France"
Benoit Lavenier's avatar
Benoit Lavenier committed
134 135
      },
      "market": {
136
        "enable": true
Benoit Lavenier's avatar
Benoit Lavenier committed
137 138 139 140
      }
    }
  }
}