-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sample.json
More file actions
40 lines (40 loc) · 1.44 KB
/
Copy pathconfig-sample.json
File metadata and controls
40 lines (40 loc) · 1.44 KB
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
31
32
33
34
35
36
37
38
39
40
{
"appname":"your_app_name",
"port":8000,
"meteoToken":"token_from_https://api.meteo-concept.com",
"insee": [10000],
"username": "username",
"password": "passwordGoesHere",
"rss":{ "lowernameoffeed" :
{
"_id" : 1,
"shortname" : "shortname for url",
"fullname" : "Fullname for page title",
"rssUrl" : "rss url",
"website" : "main website url"
},
"loggingLevel": 10,
"debug":true
},
"_informations": {
"appname" : "pretty obvious what is it for, no ?",
"port" : "port number to run flask server on",
"meteoToken" : "Token you can get at https://api.meteo-concept.com",
"insee" : "Table of insee number of the city you want weather from",
"username": "The username for config page",
"password": "password, can be set clearly in config or using sha256",
"rss" : "Dictionnary of rss feed you want",
"rssExample" : {
"devto" :
{
"_id": 1,
"shortname": "Devto",
"fullname" : "Dev To",
"rssUrl": "https://dev.to/feed/",
"website": "https://dev.to/"
}
},
"loggingLevel": "logging debug level (see https://docs.python.org/3/library/logging.html#logging-levels for more info)",
"debug" : "true to display the error info on the website, false either"
}
}