Metadata-Version: 2.1
Name: boyaa-seed
Version: 0.1.1
Summary: seed data report system
Home-page: http://seed.boyaa.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: alembic (==1.0.0)
Requires-Dist: asn1crypto (==0.24.0)
Requires-Dist: astroid (==2.0.1)
Requires-Dist: certifi (==2018.8.24)
Requires-Dist: cffi (==1.11.5)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: click (==6.7)
Requires-Dist: colorama (==0.3.9)
Requires-Dist: cryptography (==2.3)
Requires-Dist: decorator (==4.3.0)
Requires-Dist: flake8 (==3.5.0)
Requires-Dist: Flask (==1.0.2)
Requires-Dist: Flask-Cors (==3.0.6)
Requires-Dist: flask-marshmallow (==0.9.0)
Requires-Dist: Flask-Migrate (==2.2.1)
Requires-Dist: Flask-Script (==2.0.6)
Requires-Dist: Flask-SQLAlchemy (==2.3.2)
Requires-Dist: idna (==2.7)
Requires-Dist: infinity (==1.4)
Requires-Dist: intervals (==0.8.1)
Requires-Dist: isort (==4.3.4)
Requires-Dist: itsdangerous (==0.24)
Requires-Dist: Jinja2 (==2.10)
Requires-Dist: lazy-object-proxy (==1.3.1)
Requires-Dist: Mako (==1.0.7)
Requires-Dist: MarkupSafe (==1.0)
Requires-Dist: marshmallow (==2.15.3)
Requires-Dist: marshmallow-sqlalchemy (==0.14.0)
Requires-Dist: mccabe (==0.6.1)
Requires-Dist: psycopg2 (==2.7.5)
Requires-Dist: pycodestyle (==2.3.1)
Requires-Dist: pycparser (==2.18)
Requires-Dist: pyflakes (==1.6.0)
Requires-Dist: pylint (==2.0.1)
Requires-Dist: PyMySQL (==0.9.2)
Requires-Dist: python-dateutil (==2.7.3)
Requires-Dist: python-editor (==1.0.3)
Requires-Dist: redis (==2.10.6)
Requires-Dist: requests (>=2.20.0)
Requires-Dist: rope (==0.11.0)
Requires-Dist: six (==1.11.0)
Requires-Dist: SQLAlchemy (==1.2.10)
Requires-Dist: SQLAlchemy-Utils (==0.33.3)
Requires-Dist: typed-ast (==1.1.0)
Requires-Dist: urllib3 (==1.23)
Requires-Dist: validators (==0.12.2)
Requires-Dist: Werkzeug (==0.14.1)
Requires-Dist: wrapt (==1.10.11)
Requires-Dist: WTForms (==2.2.1)
Requires-Dist: WTForms-Alchemy (==0.16.7)
Requires-Dist: WTForms-Components (==0.10.3)
Requires-Dist: bcrypt (==3.1.4)

# 项目概述
Seed自助数据展示系统只是一款简易的BI系统，它方便快捷，可以通过简易的拖拽并配置报表，使只会SQL的统计人员都能快速搭建出属于自己的数据可视化报表。
<div align="center">
<img src="docs/其他图片/默认首页.png" height="300px" alt="首页" >
<img src="docs/其他图片/默认业务图.png" height="300px" alt="默认业务" >
</div>


## 测试网址
http://seed.boyaa.com

测试账号: admin 密码: admin123

## 系统操作手册
[如何操作Seed自助数据展示系统](docs/README.md)

## 如何安装
1. 需要环境
    ```
    系统环境: Linux, Mac和Windows
    运行环境: Python3.5+
    其他软件: Redis, MySQL(Postgresql)

    注: 数据库一定要使用空库。
    ```
2. 安装
- pip安装
    ```
    pip install boyaa-seed
    ```

- 编译安装
    ```
    获取代码 git clone git@github.com:BoyaaDataCenter/seed.git
    进入文件夹 cd seed
    编译代码 python setup.py install
    ```
3. 初始化seed的config文件
    ```
    执行seed init
    ```
4. config文件设置
    ```
    打开用户根目录下的.seed/seed_config.py文件
    进行数据库等相关的配置
    如: vim ~/.seed/seed_config.py
    ```
5. 初始化数据库
    ```
    进行数据库初始化, 执行
    seed upgrade
    即可
    ```
6. 运行web程序
    ```
    执行 seed run web运行web系统
    ```
7. 访问
    ```
    127.0.0.1:5000 可访问系统
    ```

## 如何升级
1. 获取到最新代码
2. 打包seed
    ```
    进入seed项目根目录
    运行 python setup.py install
    ```
3. 运行web程序
    ```
    执行 seed run web运行web系统
    ```
4. 访问
    ```
    127.0.0.1:5000 可访问系统
    ```

## 开发模式
1. 安装seed的pip运行文件到第三方库中
    ```
    python setup.py develop
    ```
2. 运行seed数据
    ```
    seed init
    ```
3. 设置数据库
    ```
    vim ~/.seed/seed_config.py
    ```
4. 运行web
    ```
    seed run web
    ```

