This repository has been archived by the owner on Oct 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
82 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,14 @@ | ||
# project/_config.py | ||
|
||
import os | ||
from datetime import timedelta | ||
|
||
# Grabs the folder where the script runs. | ||
basedir = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
# Enable debug mode. | ||
# Enable debug mode. Be sure to set this to false for production! | ||
DEBUG = True | ||
|
||
# Secret key for session management. | ||
# Secret key for session management. Make sure this is long and very random. | ||
SECRET_KEY = "" | ||
|
||
# Session lifetime (matches lifetime of Esri tokens) | ||
# PERMANENT_SESSION_LIFETIME = timedelta(seconds=3600) | ||
|
||
# ESRI IDs for accessing premium AGOL services (elevation and hydrology) | ||
# ESRI IDs for accessing premium AGOL services (elevation and hydrology). | ||
# Get this by registering an application with from developers.arcgis.com. | ||
ESRI_APP_CLIENT_ID = '' | ||
ESRI_APP_CLIENT_SECRET = '' | ||
|
||
# MAPBOX Token for better custom basemaps | ||
# MAPBOX Token for custom basemaps. Get this from www.mapbox.com. | ||
MAPBOX_ACCESS_TOKEN = "" |