# Archery **Repository Path**: git654321/Archery ## Basic Information - **Project Name**: Archery - **Description**: Archery 定位于 SQL 审核查询平台,旨在提升 DBA 的工作效率,支持主流数据库的 SQL 上线和查询,同时支持丰富的 MySQL 运维功能 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://139.199.0.191/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 659 - **Created**: 2019-11-24 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
# Archery [![Codacy Badge](https://api.codacy.com/project/badge/Grade/94e8587e507f4565a1ea5ea21fd94c32)](https://app.codacy.com/app/hhyo/Archery?utm_source=github.com&utm_medium=referral&utm_content=hhyo/Archery&utm_campaign=Badge_Grade_Dashboard) [![Build Status](https://travis-ci.org/hhyo/Archery.svg?branch=master)](https://travis-ci.org/hhyo/Archery) [![Release](https://img.shields.io/github/release/hhyo/archery.svg)](https://gitee.com/rtttte/Archery/releases) [![codecov](https://codecov.io/gh/hhyo/archery/branch/master/graph/badge.svg)](https://codecov.io/gh/hhyo/archery) [![version](https://img.shields.io/badge/python-3.6.5-blue.svg)](https://www.python.org/downloads/release/python-365/) [![version](https://img.shields.io/badge/django-2.0-brightgreen.svg)](https://docs.djangoproject.com/zh-hans/2.0/) [![docker_pulls](https://img.shields.io/docker/pulls/hhyo/archery.svg)](https://hub.docker.com/r/hhyo/archery/) [![HitCount](http://hits.dwyl.io/hhyo/hhyo/Archery.svg)](http://hits.dwyl.io/hhyo/hhyo/Archery) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://gitee.com/rtttte/Archery/blob/master/LICENSE) [![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) ![](https://images.gitee.com/uploads/images/2019/1110/202317_32bd4a1c_1038040.png) [文档](https://gitee.com/rtttte/Archery/wikis/Home) | [FAQ](https://gitee.com/rtttte/Archery/wikis/FAQ?sort_id=1525909) | [Releases](https://gitee.com/rtttte/Archery/releases)
介绍 ============ Archery 定位于 SQL 审核查询平台,旨在提升 DBA 的工作效率,支持主流数据库的 SQL 上线和查询,同时支持丰富的 MySQL 运维功能,所有功能都兼容手机端操作,查看[功能和支持列表](https://gitee.com/rtttte/Archery/wikis/%E5%8A%9F%E8%83%BD%E5%88%97%E8%A1%A8?sort_id=1525913) 快速开始 =============== ### 系统体验 [在线体验](http://139.199.0.191/) | 账号 | 密码 | | --- | --- | | archer | archer | ### Docker #### 准备运行配置 具体可参考:https://gitee.com/rtttte/Archery/blob/master/src/docker-compose #### 启动 下载 [Releases](https://gitee.com/rtttte/Archery/releases)文件,解压后进入docker-compose文件夹 ```bash #启动 docker-compose -f docker-compose.yml up -d #表结构初始化 docker exec -ti archery /bin/bash cd /opt/archery source /opt/venv4archery/bin/activate python3 manage.py makemigrations sql python3 manage.py migrate #数据初始化 python3 manage.py loaddata initial_data.json #创建管理用户 python3 manage.py createsuperuser #重启服务 docker restart archery #日志查看和问题排查 docker logs archery -f --tail=10 /downloads/log/archery.log ``` #### 访问 http://127.0.0.1:9123/ 手动安装 =============== [部署说明](https://gitee.com/rtttte/Archery/wikis/%E9%83%A8%E7%BD%B2?sort_id=1525916#%E6%89%8B%E5%8A%A8%E9%83%A8%E7%BD%B2) 运行测试 =============== ``` python manage.py test -v 3 ``` 贡献者 =============== ![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/0)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/1)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/2)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/3)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/4)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/5)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/6)![](https://sourcerer.io/fame/hhyo/hhyo/archery/images/7) 贡献代码 =============== 可查阅主页的开发计划以及依赖清单,在对应issues中回复认领,或者直接提交PR 贡献包括但不限于以下方式: - Wiki文档(开放编辑) - Bug修复 - 新功能提交 - 代码优化 - 测试用例完善 问题反馈 =============== 项目没有交流群,如果在使用过程中遇到问题,请先查阅文档,如果仍无法解决,请查看相关日志,保存截图信息,提交Issue,感谢你对Archery的贡献