old_contents: # Server config
  # SERVER_NAME = 'local.ibat.me:8080'
  DEBUG = True
  SECRET_KEY = 'secret-key'
  
  
  
  # SQL config
  SQLALCHEMY_DATABASE_URI = 'mysql+mysqldb://ustc_course:ustc_course@localhost/icourse?charset=utf8'
  
  # Flask mail
  MAIL_SERVER = 'localhost'
  MAIL_PORT = 25
  MAIL_USE_TLS = False
  MAIL_USE_SSL = False
  MAIL_DEBUG = DEBUG
  MAIL_USERNAME = None
  MAIL_PASSWORD = None
  MAIL_DEFAULT_SENDER = 'test@ibat.me'
  MAIL_MAX_EMAILS = None
  #MAIL_SUPPRESS_SEND =
  MAIL_ASCII_ATTACHMENTS = False
  
  # Upload config
  UPLOAD_FOLDER = '/tmp/uploads'
  # Alowed extentsions for a filetype
  # for example 'image': set(['png', 'jpg', 'jpeg', 'gif'])
  ALLOWED_EXTENSIONS = {
          'image':set(['png', 'jpg', 'jpeg', 'gif'])
          }
  
  
  
  IMAGE_PATH = 'uploads/images'
  
new_contents: # Server config
  # SERVER_NAME = 'local.ibat.me:8080'
  DEBUG = True
  SECRET_KEY = 'secret-key'
  
  
  
  # SQL config
  #SQLALCHEMY_DATABASE_URI = 'mysql+mysqldb://ustc_course:ustc_course@localhost/icourse?charset=utf8'
  SQLALCHEMY_DATABASE_URI = 'mysql+mysqldb://ustc_course:ustc_course@ssh.freeshell.ustc.edu.cn:44712/icourse?charset=utf8'
  
  # Flask mail
  MAIL_SERVER = 'localhost'
  MAIL_PORT = 25
  MAIL_USE_TLS = False
  MAIL_USE_SSL = False
  MAIL_DEBUG = DEBUG
  MAIL_USERNAME = None
  MAIL_PASSWORD = None
  MAIL_DEFAULT_SENDER = 'test@ibat.me'
  MAIL_MAX_EMAILS = None
  #MAIL_SUPPRESS_SEND =
  MAIL_ASCII_ATTACHMENTS = False
  
  # Upload config
  UPLOAD_FOLDER = '/tmp/uploads'
  # Alowed extentsions for a filetype
  # for example 'image': set(['png', 'jpg', 'jpeg', 'gif'])
  ALLOWED_EXTENSIONS = {
          'image':set(['png', 'jpg', 'jpeg', 'gif'])
          }
  
  
  
  IMAGE_PATH = 'uploads/images'
  
subject: use remote database for debugging