Skip to content

Commit 4d47ac6

Browse files
authored
Merge pull request #1008 from CodeForPhilly/lebovits/remove-mapbox-references
remove references to mapbox key, which we are no longer using
2 parents 46d2612 + 8485a30 commit 4d47ac6

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

data/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ services:
66
image: vacant-lots-proj:latest
77
environment:
88
- GOOGLE_APPLICATION_CREDENTIALS=/app/service-account-key.json
9-
- CFP_MAPBOX_TOKEN_UPLOADER
109
- VACANT_LOTS_DB
1110
- CLEAN_GREEN_GOOGLE_KEY
1211
- PYTHONUNBUFFERED=1

data/src/config/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
USE_CRS = "EPSG:2272"
99
""" the standard geospatial code for Pennsylvania South (ftUS) """
1010

11-
MAPBOX_TOKEN = os.environ.get("CFP_MAPBOX_TOKEN_UPLOADER")
12-
""" The location of the token for your mapbox account in your environment """
13-
1411
log_level: int = logging.WARN
1512
""" overall log level for the project """
1613

data/src/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127

128128
conn.commit()
129129

130-
# Post to Mapbox
130+
# Post to GCP
131131
dataset.build_and_publish(tiles_file_id_prefix)
132132

133133
# if we are reloading, run the diff report, then archive the backup and finally prune old archives

src/config/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
const EMPTY_STRING = '';
22

3-
export const mapboxAccessToken =
4-
'pk.eyJ1IjoibmxlYm92aXRzIiwiYSI6ImNsZXQ2Nzd3ZDBjZnYzcHFvYXhib2RqYzQifQ.PWg2LuNCH1E6-REjmYvdOg' ||
5-
EMPTY_STRING;
6-
73
export const maptilerApiKey =
84
process.env.NEXT_PUBLIC_MAPTILER_KEY || EMPTY_STRING;
95

0 commit comments

Comments
 (0)