aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-06 18:55:30 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-06 18:55:30 +0530
commit5339f4096d9b8d9a81b90d7997dc99a814b37f22 (patch)
tree3b74f2628c2190734bc454a3c4000b7866666ae2
parentb3b867fe1a1f1378e78f5ef6cbfb7f3d07246d0b (diff)
added MariaDB config
-rw-r--r--app/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/__init__.py b/app/__init__.py
index d2b7088..95312c5 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -3,6 +3,11 @@ from flask import Flask
# Config Values
# location where file uploads will be stored
UPLOAD_FOLDER = './app/static/uploads'
+DB_HOST = '192.168.1.6' #'navanspi.duckdns.org'
+DB_PORT = 3306
+DB_USER = 'curieweb'
+DB_PASSWORD = 'curie-web-russian-54'
+DB_NAME = 'curie'
# needed for session security, the flash() method in this case stores the message
# in a session
SECRET_KEY = 'Sup3r$3cretkey'