Browse Source

使用test.json配置

林轩 8 months ago
parent
commit
76f2ec216c
2 changed files with 6 additions and 6 deletions
  1. 1 1
      bigdataAPI/settings.py
  2. 5 5
      test.json

+ 1 - 1
bigdataAPI/settings.py

@@ -24,7 +24,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 SECRET_KEY = '$rs)*w)9gh)nkf1=@r$2xguf1b(qz8ba!%hm8lwt54ti3_da^b'
 
 # SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = False
+DEBUG = True
 
 if DEBUG:
     config_path = os.path.join(BASE_DIR,"test.json")

+ 5 - 5
test.json

@@ -3,22 +3,22 @@
 		"host": "localhost",
 		"port": 3306,
 		"user": "root",
-		"pwd": "yfkj@6020"
+		"pwd": "Yfkj#123456"
 	},
 	"redis": {
 		"host": "localhost",
-		"port": "61881",
-		"password": "yf6021",
+		"port": "6379",
+		"password": "yfkj1234",
         "url": "redis://:yf6021@127.0.0.1:61881/12"
 	},
 	"bigdatamysql": {
-		"host": "localhost",
+		"host": "114.55.0.7",
 		"port": 3306,
 		"user": "root",
 		"pwd": "yfkj@6020"
 	},
 	"bigdatamongo": {
-		"host": "localhost",
+		"host": "114.55.0.7",
 		"port": 27017,
 		"user": "root",
 		"pwd": "yfkj@6020"