Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove references to mapbox key, which we are no longer using #1008

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion data/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ services:
image: vacant-lots-proj:latest
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/service-account-key.json
- CFP_MAPBOX_TOKEN_UPLOADER
- VACANT_LOTS_DB
- CLEAN_GREEN_GOOGLE_KEY
- PYTHONUNBUFFERED=1
Expand Down
3 changes: 0 additions & 3 deletions data/src/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
USE_CRS = "EPSG:2272"
""" the standard geospatial code for Pennsylvania South (ftUS) """

MAPBOX_TOKEN = os.environ.get("CFP_MAPBOX_TOKEN_UPLOADER")
""" The location of the token for your mapbox account in your environment """

log_level: int = logging.WARN
""" overall log level for the project """

Expand Down
2 changes: 1 addition & 1 deletion data/src/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

conn.commit()

# Post to Mapbox
# Post to GCP
dataset.build_and_publish(tiles_file_id_prefix)

# if we are reloading, run the diff report, then archive the backup and finally prune old archives
Expand Down
4 changes: 0 additions & 4 deletions src/config/config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const EMPTY_STRING = '';

export const mapboxAccessToken =
'pk.eyJ1IjoibmxlYm92aXRzIiwiYSI6ImNsZXQ2Nzd3ZDBjZnYzcHFvYXhib2RqYzQifQ.PWg2LuNCH1E6-REjmYvdOg' ||
EMPTY_STRING;

export const maptilerApiKey =
process.env.NEXT_PUBLIC_MAPTILER_KEY || EMPTY_STRING;

Expand Down
Loading