赞
踩
superset 官方部署文档地址:http://superset.apache.org/installation.html
git clone https://github.com/apache/incubator-superset/
cd incubator-superset/contrib/docker
# prefix with SUPERSET_LOAD_EXAMPLES=yes to load examples:
docker-compose run --rm superset ./docker-init.sh
# you can run this command everytime you need to start superset now:
docker-compose up
--Ubuntu 16 注:需要升级到python3.6 注:需要升级到python3.6 注:需要升级到python3.6 注:需要升级到python3.6 sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev --Ubuntu 18 sudo apt-get install build-essential libssl-dev libffi-dev python3.6-dev python-pip libsasl2-dev libldap2-dev pip install virtualenv # virtualenv is shipped in Python 3.6+ as venv instead of pyvenv. # See https://docs.python.org/3.6/library/venv.html python3 -m venv venv # 如果要是ubuntu16,需要进行一步安装 apt-get install python3.6-venv . venv/bin/activate pip install --upgrade setuptools pip # Install superset pip install superset # Initialize the database superset db upgrade # Create an admin user (you will be prompted to set a username, first and last name before setting a password) $ export FLASK_APP=superset flask fab create-admin # Load some data to play with superset load_examples # Create default roles and permissions superset init # To start a development web server on port 8088, use -p to bind to another port superset run -p 8080 --with-threads --reload --debugger
– 仅仅是记录一下,方便查找
– 其余省略0–
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。