Created
September 7, 2017 00:32
-
-
Save mshmsh5000/70ff7b7a615b50ed938ed2003a7a2f04 to your computer and use it in GitHub Desktop.
We Vote Server: Prebuilt environmental-variables.json
This file contains hidden or 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
{ | |
"_comment": "Note that WE_VOTE_SERVER_ROOT_URL should end without slash", | |
"WE_VOTE_SERVER_ROOT_URL": "https://localhost:8889", | |
"WEB_APP_ROOT_URL": "http://localhost:3000", | |
"TIME_ZONE": "US/Pacific", | |
"SERVER_IN_DEBUG_MODE": true, | |
"_comment": "local.py settings, including database", | |
"DATABASE_ENGINE": "django.db.backends.postgresql_psycopg2", | |
"DATABASE_NAME": "wevoteserver", | |
"DATABASE_USER": "wevoteserver", | |
"DATABASE_PASSWORD": "password", | |
"DATABASE_HOST": "127.0.0.1", | |
"DATABASE_PORT": "", | |
"_comment": "read-only database settings for local.py", | |
"DATABASE_ENGINE_READONLY": "django.db.backends.postgresql_psycopg2", | |
"DATABASE_NAME_READONLY": "wevoteserver", | |
"DATABASE_USER_READONLY": "wevoteserver", | |
"DATABASE_PASSWORD_READONLY": "password", | |
"DATABASE_HOST_READONLY": "127.0.0.1", | |
"DATABASE_PORT_READONLY": "", | |
"_comment": "analytics database settings for local.py", | |
"DATABASE_ENGINE_ANALYTICS": "django.db.backends.postgresql_psycopg2", | |
"DATABASE_NAME_ANALYTICS": "wevoteserver", | |
"DATABASE_USER_ANALYTICS": "wevoteserver", | |
"DATABASE_PASSWORD_ANALYTICS": "password", | |
"DATABASE_HOST_ANALYTICS": "127.0.0.1", | |
"DATABASE_PORT_ANALYTICS": "", | |
"_comment": "The connection string for Elastic Search database", | |
"ELASTIC_SEARCH_CONNECTION_STRING": "", | |
"_comment": "These are the levels of logging available: CRITICAL, ERROR, INFO, WARN, DEBUG", | |
"_comment": "*** LOG_STREAM turns on or off the messages to the command line: true or false", | |
"LOG_STREAM": true, | |
"_comment": "*** LOG_STREAM_LEVEL is the level of logging printed to the command line", | |
"LOG_STREAM_LEVEL": "DEBUG", | |
"_comment": "*** LOG_FILE is the location on the disk of the log file", | |
"LOG_FILE": "/var/log/wevote/wevoteserver.log", | |
"_comment": "*** LOG_FILE_LEVEL is the level of logging written to the log file", | |
"LOG_FILE_LEVEL": "ERROR", | |
"_comment": "Email server settings", | |
"EMAIL_HOST": "smtp.sendgrid.net", | |
"EMAIL_HOST_USER": "sendgrid_username", | |
"EMAIL_HOST_PASSWORD": "sendgrid_password", | |
"EMAIL_PORT": "587", | |
"EMAIL_USE_TLS": "True", | |
"_comment": "sendgrid-django API settings", | |
"EMAIL_BACKEND": "sgbackend.SendGridBackend", | |
"SENDGRID_API_KEY": "", | |
"_comment": "emails separated by spaces for error alerts", | |
"ADMIN_EMAIL_ADDRESSES": "", | |
"_comment": "import_export", | |
"WE_VOTE_API_KEY": "", | |
"BALLOT_ITEMS_SYNC_URL": "https://api.wevoteusa.org/apis/v1/ballotItemsSyncOut/", | |
"BALLOT_RETURNED_SYNC_URL": "https://api.wevoteusa.org/apis/v1/ballotReturnedSyncOut/", | |
"ELECTIONS_SYNC_URL": "https://api.wevoteusa.org/apis/v1/electionsSyncOut/", | |
"OFFICES_SYNC_URL": "https://api.wevoteusa.org/apis/v1/officesSyncOut/", | |
"ORGANIZATIONS_SYNC_URL": "https://api.wevoteusa.org/apis/v1/organizationsSyncOut/", | |
"ORGANIZATION_LINK_TO_ISSUE_SYNC_URL": "https://api.wevoteusa.org/apis/v1/organizationLinkToIssueSyncOut/", | |
"CANDIDATES_SYNC_URL": "https://api.wevoteusa.org/apis/v1/candidatesSyncOut/", | |
"ISSUES_SYNC_URL": "https://api.wevoteusa.org/apis/v1/issuesSyncOut/", | |
"MEASURES_SYNC_URL": "https://api.wevoteusa.org/apis/v1/measuresSyncOut/", | |
"POLLING_LOCATIONS_SYNC_URL": "https://api.wevoteusa.org/apis/v1/pollingLocationsSyncOut/", | |
"POSITIONS_SYNC_URL": "https://api.wevoteusa.org/apis/v1/positionsSyncOut/", | |
"QUICK_INFO_URL": "https://api.wevoteusa.org/import_export/quick_info/", | |
"VOTER_GUIDES_SYNC_URL": "https://api.wevoteusa.org/apis/v1/voterGuidesSyncOut/", | |
"_comment": "import_export_google_civic", | |
"GOOGLE_CIVIC_API_KEY": "", | |
"GOOGLE_MAPS_API_KEY": "", | |
"ELECTION_QUERY_URL": "https://www.googleapis.com/civicinfo/v2/elections", | |
"VOTER_INFO_URL": "https://www.googleapis.com/civicinfo/v2/voterinfo", | |
"VOTER_INFO_JSON_FILE": "import_export_google_civic/import_data/voterinfo_sample.json", | |
"_comment": "import_export_theunitedstatesio", | |
"LEGISLATORS_CURRENT_CSV_FILE": "import_export_theunitedstatesio/import_data/legislators-current.csv", | |
"_comment": "import_export_twitter", | |
"TWITTER_CONSUMER_KEY": "", | |
"TWITTER_CONSUMER_SECRET": "", | |
"TWITTER_ACCESS_TOKEN": "", | |
"TWITTER_ACCESS_TOKEN_SECRET": "", | |
"_comment": "import_export_vote_smart", | |
"VOTE_SMART_API_KEY": "", | |
"VOTE_SMART_API_URL": "http://api.votesmart.org", | |
"_comment": "import_export_voting_info_project", | |
"VOTING_INFO_PROJECT_SAMPLE_XML_FILE": "import_export_voting_info_project/import_data/sample_feed.xml", | |
"_comment": "Login settings", | |
"LOGIN_URL": "https://localhost:8889/login/", | |
"LOGIN_ERROR_URL": "https://localhost:8889/login/", | |
"LOGIN_REDIRECT_URL": "https://localhost:8889/admin/", | |
"_comment": "Django social sign in", | |
"SOCIAL_AUTH_FACEBOOK_KEY": "", | |
"SOCIAL_AUTH_FACEBOOK_SECRET": "", | |
"SOCIAL_AUTH_TWITTER_KEY": "", | |
"SOCIAL_AUTH_TWITTER_SECRET": "", | |
"SOCIAL_AUTH_LOGIN_URL": "https://localhost:8889/login/", | |
"SOCIAL_AUTH_LOGIN_ERROR_URL": "https://localhost:8889/login/", | |
"SOCIAL_AUTH_LOGIN_REDIRECT_URL": "https://localhost:8889/voter/login_complete/", | |
"_comment": "django secret key", | |
"SECRET_KEY": "REALLYANYTHINGYOUWANT", | |
"_comment": "stripe test secret key", | |
"STRIPE_SECRET_KEY": "API Secret key begins with - pk_...", | |
"STRIPE_SIGNING_SECRET": "Webhook signing secret key, begins with - whsec_...", | |
"STRIPE_REFUND_DAYS": 30, | |
"_comment": "Image server (Amazon Web Service AWS s3) settings", | |
"AWS_ACCESS_KEY_ID": "", | |
"AWS_SECRET_ACCESS_KEY": "", | |
"AWS_REGION_NAME": "us-west-2", | |
"AWS_STORAGE_BUCKET_NAME": "wevote-images", | |
"PROFILE_IMAGE_TINY_WIDTH": 24, | |
"PROFILE_IMAGE_TINY_HEIGHT": 24, | |
"PROFILE_IMAGE_MEDIUM_WIDTH": 48, | |
"PROFILE_IMAGE_MEDIUM_HEIGHT": 48, | |
"PROFILE_IMAGE_LARGE_WIDTH": 200, | |
"PROFILE_IMAGE_LARGE_HEIGHT": 200, | |
"SOCIAL_BACKGROUND_IMAGE_HEIGHT": 200, | |
"SOCIAL_BACKGROUND_IMAGE_WIDTH": 900, | |
"_comment": "End of json_environment_variables.json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment