Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""LICENSE
2Copyright 2020 Hermann Krumrey <hermann@krumreyh.com>
4This file is part of stockstert.
6stockstert is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
11stockstert is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
16You should have received a copy of the GNU General Public License
17along with stockstert. If not, see <http://www.gnu.org/licenses/>.
18LICENSE"""
20import os
21from stockstert.utils.env import resolve_env_variable
23"""
24This file contains environment specific configuration information
25All of this information is found using environment variables
26"""
28# recaptcha_site_key = resolve_env_variable("RECAPTCHA_SITE_KEY")
29# """
30# The (public) recaptcha site key
31# """
32#
33# recaptcha_secret_key = resolve_env_variable("RECAPTCHA_SECRET_KEY")
34# """
35# The secret recaptcha key used to validate the recaptcha result
36# """
37#
38# db_user = resolve_env_variable("DB_USER")
39# """
40# The database user
41# """
42#
43# db_name = resolve_env_variable("DB_NAME")
44# """
45# The database name
46# """
47#
48# db_key = resolve_env_variable("DB_KEY")
49# """
50# The database key
51# """
53logging_path = os.path.join(
54 str(resolve_env_variable("PROJECT_ROOT_PATH", default="/tmp")),
55 "stockstert.log"
56)