-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
90 lines (68 loc) · 2.85 KB
/
.env.example
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#Only values in uppercase are actually stored in the config object later on. So make sure to use uppercase letters for your config keys.
# Change FLASK_ENV=live for live
FLASK_ENV=${FLASK_ENV}
# Software as a service (SAAS)
SAAS_URL=${SAAS_URL}
# SAAS_API_KEY is to allow subscribie platform to send authenticated
# api requests to subscribie shops created by the shop builder.
SAAS_API_KEY=${SAAS_API_KEY}
SAAS_ACTIVATE_ACCOUNT_PATH=${SAAS_ACTIVATE_ACCOUNT_PATH}
# For testing this repo in isolation, SUBSCRIBIE_REPO_DIRECTORY can be './'
# for production, SUBSCRIBIE_REPO_DIRECTORY should be wherever the repo
# is cloned to
SUBSCRIBIE_REPO_DIRECTORY=${SUBSCRIBIE_REPO_DIRECTORY}
SQLALCHEMY_TRACK_MODIFICATIONS=False
SQLALCHEMY_DATABASE_URI=${SQLALCHEMY_DATABASE_URI}
SECRET_KEY="random string. e.g. echo -e 'from os import urandom\\nprint urandom(25)' | python"
DB_FULL_PATH=${DB_FULL_PATH}
MODULES_PATH="./modules/"
TEMPLATE_BASE_DIR=${TEMPLATE_BASE_DIR}
THEME_NAME="jesmond"
CUSTOM_PAGES_PATH=${CUSTOM_PAGES_PATH}
UPLOADED_IMAGES_DEST=${UPLOADED_IMAGES_DEST}
UPLOADED_FILES_DEST=${UPLOADED_FILES_DEST}
# Default 50Mb upload limit
MAX_CONTENT_LENGTH="52428800"
SUCCESS_REDIRECT_URL=${SUCCESS_REDIRECT_URL}
THANKYOU_URL=${THANKYOU_URL}
EMAIL_LOGIN_FROM=${EMAIL_LOGIN_FROM}
EMAIL_QUEUE_FOLDER=${EMAIL_QUEUE_FOLDER}
SERVER_NAME=${SERVER_NAME}
# Cookie policies
#SESSION_COOKIE_SECURE=True
#SESSION_COOKIE_HTTPONLY=True
#SESSION_COOKIE_SAMESITE=None
MAIL_DEFAULT_SENDER=${MAIL_DEFAULT_SENDER}
STRIPE_LIVE_PUBLISHABLE_KEY=${STRIPE_LIVE_PUBLISHABLE_KEY}
STRIPE_LIVE_SECRET_KEY=${STRIPE_LIVE_SECRET_KEY}
STRIPE_TEST_PUBLISHABLE_KEY=${STRIPE_TEST_PUBLISHABLE_KEY}
STRIPE_TEST_SECRET_KEY=${STRIPE_TEST_SECRET_KEY}
# Internal server where shop should send its stripe connect account id to. See https://github.com/Subscribie/subscribie/issues/352
STRIPE_CONNECT_ACCOUNT_ANNOUNCER_HOST=${STRIPE_CONNECT_ACCOUNT_ANNOUNCER_HOST}
# Google oauth (signin / up with Google
GOOGLE_CLIENT_ID=???.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=???
GOOGLE_REDIRECT_URI="http://127.0.0.1:5000/google-oauth2callback/"
GOOGLE_RESPONSE_TYPE=code
GOOGLE_SCOPE="email openid profile"
# For development:
HONEYCOMB_API_KEY=
# Python log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
# See https://docs.python.org/3/howto/logging.html
PYTHON_LOG_LEVEL=DEBUG
# Playwright testing
PLAYWRIGHT_HOST=http://127.0.0.1:5000/
PLAYWRIGHT_HEADLESS=true
#rename shop variables
PATH_TO_SITES=${PATH_TO_SITES}
PATH_TO_RENAME_SCRIPT=${PATH_TO_RENAME_SCRIPTS}
SUBSCRIBIE_DOMAIN="subscriby.shop"
PRIVATE_KEY="/tmp/private.pem"
PUBLIC_KEY="/tmp/public.pem"
# Optional
TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID}
TELEGRAM_PYTHON_LOG_LEVEL=${TELEGRAM_PYTHON_LOG_LEVEL}
# Environment Settings for tests
TEST_SHOP_OWNER_EMAIL_ISSUE_704=admin@example.com
TEST_SHOP_OWNER_LOGIN_URL=http://127.0.0.1:5000/auth/login