-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added backend environmental variables
- Loading branch information
1 parent
809bebb
commit 95e0540
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
# This file includes global variables that will be available inside your project | ||
# 1. In the front end code you can access this variables like this: console.log(process.env.VARIABLE_NAME) | ||
# 1. In the back end code you access the variable by importing os and then typing print(os.getEnv('VARIABLE_NAME')) | ||
|
||
# Front-End Variables | ||
BASENAME=/ | ||
|
||
|
||
# Back-End Variables | ||
DB_CONNECTION_STRING=mysql+mysqlconnector://root@localhost/example | ||
FLASK_APP_KEY="any key works" | ||
FLASK_APP=src/main.py | ||
FLASK_ENV=development |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.