欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

开源BI工具2:apache/superset

发布时间:2023/12/20 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 开源BI工具2:apache/superset 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

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@superset.com \--password admin
  • Migrate local DB to latest

    $ docker exec -it superset superset db upgrade
  • Load Examples

    #第一步:收到下载数据集https://github.com/apache-superset/examples-data/ #第二步:下载搭建本地服务器,使用python -m http.server 也可以,使用httpd也行 #修改源代码:容器中的地址为:/app/superset/examples/helpers.py 参考文档:https://blog.csdn.net/qq_38300692/article/details/125546008$docker exec -it superset superset load_examples
  • Setup roles

    $ docker exec -it superset superset init
  • 访问http://ip:8080效果展示:

    语言切换:

    https://github.com/apache/superset/discussions/18806?sort=new

    总结

    以上是生活随笔为你收集整理的开源BI工具2:apache/superset的全部内容,希望文章能够帮你解决所遇到的问题。

    如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。