-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
38 lines (36 loc) · 866 Bytes
/
Copy pathconfig.py
File metadata and controls
38 lines (36 loc) · 866 Bytes
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
BACKEND_REMOTE=False
MAPBOX_TOKEN='pk.eyJ1IjoiemFjaGFyeTgxNiIsImEiOiJjazd6NXN2eWwwMml0M2tvNGo2c3JkcGFpIn0.aB1upejZ61JQjb_z2g1NuA'
DB_LOCAL={
"uri":'localhost',
"port":27017,
"dbname":"testdb",
"un":"",
"pwd":"",
"countyLocationCollection" : "countyLocations"
}
DB_REMOTE={
"uri":'<remote_server_url>',
"port":25564,
"dbname":"covid19",
"un":"<db_un>",
"pwd":"<db_pwd>",
"countyLocationCollection" : "countyLocations"
}
DB=DB_REMOTE if BACKEND_REMOTE else DB_LOCAL
CCD={
"GEO_ID": "ID",
"NAME": "N",
"confirmed_cases": "CC",
"deaths": "D",
"daysElapsed": "DE",
"count": "C",
"isPredicted":"IP",
"strain_data":"SD"
}
COUNTY_PROPS={
"GEO_ID" : "GEO_ID",
"CASES" : "confirmed_cases",
"DEATHS" : "deaths",
"STRAIN" : "strain_data",
"MOBILTY" : "mobility_data"
}