-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathexample.cfg
More file actions
61 lines (50 loc) · 2.79 KB
/
example.cfg
File metadata and controls
61 lines (50 loc) · 2.79 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# You can use a file containing environment vars like this:
# APP_SETTINGS=/path/to/envfile.cfg freezing-server
#
# See freezing/webapp/config.py for more information on these settings.
# Suitable same-machine testing. Set this to 0.0.0.0 to allow connections from other machines.
BIND_INTERFACE=127.0.0.1
DEBUG=true
# By default this uses the localdev environment for local development, which enables
# several features useful for developers, such as user impersonation.
# See
#ENVIRONMENT=localdev
# The SECRET_KEY is used by Flask to sign sessions. Set this to something else.
SECRET_KEY=e6c07402-0307-11e8-b087-000000000000
# The URL to the database. Note that the pymysql driver must be explicitly specified.
#
# It is important to use the utf8mb4 charset to get full support for Unicode characters,
# including emoji.
#
# This URL is suitable for use with the database running in the freezing-compose setup in this repository.
SQLALCHEMY_URL="mysql+pymysql://freezing:zeer0mfreezing-db-dev/freezing?charset=utf8mb4&binary_prefix=true"
# Use this one if you are running this on your host vs. the database in the
# https://github.com/freezingsaddles/freezing-compose project.
# NOTE: If you are using a MySQL docker via freezing-compose use 127.0.0.1 as the host, NOT localhost
#SQLALCHEMY_URL="mysql+pymysql://freezing:please-change-me-as-this-is-a-default@127.0.0.1/freezing?charset=utf8mb4&binary_prefix=true"
# If you keep your MySQL database somewhere else, fix this up to match.
#SQLALCHEMY_URL="mysql+pymysql://freezing:freezing@127.0.0.1/freezing?charset=utf8mb4&binary_prefix=true""
# A place to cache json responses.
JSON_CACHE_DIR=data/cache/json
# Configuration for the Strava client. These settings come from your App setup.
# Setting this is only required if you are testing parts of this application that exercise the Strava API,
# such as user registration. That is an advanced topic and not required to make most changes to
# the web site. Most of the action with the Strava API happens in freezing-sync, not here.
STRAVA_CLIENT_ID=?
STRAVA_CLIENT_SECRET=?
# Main team ID that everyone should join
MAIN_TEAM=324147
# Comma-separated list of Strava Clubs that are the participating teams.
TEAMS=1234,1235
# Comma-separated list of teams that should be included for overall stats but are not "playing the game"
OBSERVER_TEAMS=5678,9013
# The competition title
COMPETITION_TITLE='BikeArlington Freezing Saddles 2018 - localdev'
# The start date of the competition -- WITH TIME ZONE
START_DATE=2018-01-01T00:00:00-05:00
# The end date of the competition -- WITH TIME ZONE.
END_DATE=2018-03-20T00:01:00-04:00
# Related web sites
FORUM_SITE=https://www.bikearlingtonforum.com/forums/forum/freezing-saddles-winter-riding-competition/
REGISTRATION_SITE=https://freezingsaddles.info/
DISCORD_INVITATION=https://example.org/