docker 快速部署
Start a superset instance on port 8080
$ docker run -d -p 8080:8088 --name superset apache/superset
Initialize a local Superset Instance
With your local superset container already running...
Setup your local admin account
$ docker exec -it superset superset fab create-admin \--username admin \--firstname Superset \--lastname Admin \--email admin@ \--password admin
Migrate local DB to latest
$ docker exec -it superset superset db upgrade
Load Examples
#第一步:收到下载数据集/apache-superset/examples-data/#第二步:下载搭建本地服务器,使用python -m http.server 也可以,使用httpd也行#修改源代码:容器中的地址为:/app/superset/examples/helpers.py参考文档:/qq_38300692/article/details/125546008$docker exec -it superset superset load_examples
Setup roles
$ docker exec -it superset superset init
访问http://ip:8080效果展示:
语言切换:
/apache/superset/discussions/18806?sort=new