1.创建数据库的时候发现报错,解决的办法是对加密模块进行降级,降级到1.2.1
2. 按照官方配置,创建caravel_config.py,且放到Python搜索路径下面
#---------------------------------------------------------
# Caravel specifix config
#---------------------------------------------------------
ROW_LIMIT = 5000
WEBSERVER_THREADS = 8
CARAVEL_WEBSERVER_PORT = 8088
#---------------------------------------------------------
#---------------------------------------------------------
# Flask App Builder configuration
#---------------------------------------------------------
# Your App secret key
SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h'
# The SQLAlchemy connection string to your database backend
# This connection defines the path to the database that stores your
# caravel metadata (slices, connections, tables, dashboards, ...).
# Note that the connection information to connect to the datasources
# you want to explore are managed directly in the web UI
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/caravel.db'
# Flask-WTF flag for CSRF
CSRF_ENABLED = True
3.针对编码问题,修改viz.py ,目前数据库中文问题还没有解决
No comments:
Post a Comment