mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-19 15:10:35 -04:00
cleanup names for dirs
This commit is contained in:
parent
0904ec1dc4
commit
0da3cbd74a
80 changed files with 62 additions and 2263 deletions
12
boilerplates-dash/wrappers/settings.py
Normal file
12
boilerplates-dash/wrappers/settings.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Load all env variables from .env file
|
||||
|
||||
import os
|
||||
|
||||
from dotenv import load_dotenv
|
||||
from pathlib import Path
|
||||
|
||||
env_path = Path('.') / '.env'
|
||||
load_dotenv(dotenv_path=env_path)
|
||||
|
||||
# General constants
|
||||
PORT = os.getenv('PORT')
|
Loading…
Add table
Add a link
Reference in a new issue