开发环境搭建步骤
建议使用mac和ubuntu系统,同事刚开始使用windows安装,过程中遇到很多问题,改用ubuntu系统,本文适用mac和ubuntu系统。
官网建议使用虚拟机或Docker
Windows users: while it should be possible to run Redash on a Windows machine, we don't know anyone who did this and lived to tell. We recommend using some sort of a virtual machine or Docker in such case.
1.github获取代码及安装需要的python包
https://github.com/getredash/...
以下安装过程使用master分支作为开发环境版本,release/6.0.x、release/7.0.0也适用。
2.修改Python解释器版本
redash适用python2.7开发。
3.创建application
4.创建数据库并建表
本地安装pgsql并创建数据库,安装pgsql的过程此