-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from DogukanUrker/main
changes
- Loading branch information
Showing
38 changed files
with
203 additions
and
515 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,14 +1,14 @@ | ||
from helpers import secrets, socket | ||
|
||
APP_HOST = socket.gethostbyname(socket.gethostname()) # FLASK APP'S HOST/PORT | ||
DEBUG_MODE = True # TURN ON/OFF FLASK DEBUG MODE | ||
TAILWIND_UI = False # SELECT TAILWIND-UI/STANDARD-UI | ||
LOG_IN = True # TURN ON/OFF USER LOG IN UP | ||
REGISTRATION = True # TURN ON/OFF USER SIGN UP | ||
APP_HOST = socket.gethostbyname(socket.gethostname()) # FLASK APP'S HOST/PORT. | ||
DEBUG_MODE = True # TURN ON/OFF FLASK DEBUG MODE. | ||
TAILWIND_UI = False # SELECT TAILWIND-UI/STANDARD-UI. | ||
LOG_IN = True # TURN ON/OFF USER LOG IN UP. | ||
REGISTRATION = True # TURN ON/OFF USER SIGN UP. | ||
LOG_FILE_ROOT = "log.log" # ROOT OF THE LOG FILE FROM WHERE MESSAGES ARE PRINTED FROM THE MESSAGE MODULE. | ||
DB_FOLDER_ROOT = "db" # ROOT OF THE DATABASE FOLDER WHERE .db FILES ARE LOCATED | ||
DB_USERS_ROOT = DB_FOLDER_ROOT + "/users.db" # ROOT OF THE USERS DATABASE | ||
DB_POSTS_ROOT = DB_FOLDER_ROOT + "/posts.db" # ROOT OF THE POSTS DATABASE | ||
DB_COMMENTS_ROOT = DB_FOLDER_ROOT + "/comments.db" # ROOT OF THE COMMENTS DATABASE | ||
APP_SECRET_KEY = secrets.token_urlsafe(32) # FLASK APP'S SECRET KEY | ||
SESSION_PERMANENT = True # FLASK APP'S SESSIONS | ||
DB_FOLDER_ROOT = "db" # ROOT OF THE DATABASE FOLDER WHERE .db FILES ARE LOCATED. | ||
DB_USERS_ROOT = DB_FOLDER_ROOT + "/users.db" # ROOT OF THE USERS DATABASE. | ||
DB_POSTS_ROOT = DB_FOLDER_ROOT + "/posts.db" # ROOT OF THE POSTS DATABASE. | ||
DB_COMMENTS_ROOT = DB_FOLDER_ROOT + "/comments.db" # ROOT OF THE COMMENTS DATABASE. | ||
APP_SECRET_KEY = secrets.token_urlsafe(32) # FLASK APP'S SECRET KEY. | ||
SESSION_PERMANENT = True # FLASK APP'S SESSIONS. |
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.