sudo yum upgrade python-setuptools
sudo yum -y install gcc libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel gcc-c++

# python变量
export PYTHONIOENCODING=utf-8

# python3 准备
./configure --prefix=/usr/local/python-3 --with-ssl
make -j 4
make install
virtualenv -p /usr/local/python-3/bin/python3.6 /usr/local/bienv
/usr/local/python-3/bin/python3.6 -m venv /usr/local/bienv

# Install caravel
pip install numpy --trusted-host pypi.douban.com
pip install pandas --trusted-host pypi.douban.com
pip install caravel --trusted-host pypi.douban.com
yum install sqlite-devel
pip install pysqlite
  • if you are using caravel
# Create an admin user
fabmanager create-admin --app caravel

# Initialize the database
caravel db upgrade

# Load some data to play with
caravel load_examples

# Create default roles and permissions
caravel init

# Start the web server on port 8088
caravel runserver -p 8088
  • if you are using superset
# Create an admin user
fabmanager create-admin --app superset

# Initialize the database
superset db upgrade

# Load some data to play with
#superset load_examples

# Create default roles and permissions
superset init

# Start the web server on port 8088
superset runserver -p 8088
  • 安装完成后,配置文件在哪里呢?
~/.superset/superset.db
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""