Commits

Anonymous committed d1e35c0

add readme

  • Participants
  • Parent commits b77e307

Comments (0)

Files changed (3)

+You have to change projectname to whatever you like;
+
+in app.py===>line 11
+conf.py==>
+frontend.py

File projectname/config/conf.py

 SECRET_KEY          = "secret_keyplzchangeit"
 
 MONGODB_DB          = ""#project db
-MONGODB_DB_UNITTEST = "zion_unittest"#project unittest
+MONGODB_DB_UNITTEST = ""#project unittest
 MONGODB_HOST        = "localhost"
 MONGODB_PORT        = 27017
 MONGODB_USER        = ''#your mongodb username; keep it empty if no auth required

File projectname/config/local_conf.py.tmpl

 # -*- coding: utf-8 -*-
 
-PORT = "2000" # 改成自己的端口号段中的数字
+PORT = "5000" # 改成自己的端口号段中的数字
 MONGODB_HOST = "localhost"
 MONGODB_PORT = 27017
-MONGODB_DB = "zion_2000" # 此处改成自己的mongodb名称
-MONGODB_DB_UNITTEST = "zion_unittest_2000" # 此处改成自己的端口
-SITE_DOMAIN = "dev-yeesi.yeeyan.org"
+MONGODB_DB = "" # 此处改成自己的mongodb名称
+MONGODB_DB_UNITTEST = "" # 此处改成自己的端口