# Archery
**Repository Path**: smile_clj/Archery
## Basic Information
- **Project Name**: Archery
- **Description**: Archery 定位于 SQL 审核查询平台,旨在提升 DBA 的工作效率,支持主流数据库的 SQL 上线和查询,同时支持丰富的 MySQL 运维功能
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: https://archerydms.com
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 657
- **Created**: 2020-05-20
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#
Archery
[](https://app.codacy.com/app/hhyo/Archery?utm_source=github.com&utm_medium=referral&utm_content=hhyo/Archery&utm_campaign=Badge_Grade_Dashboard)
[](https://travis-ci.org/hhyo/Archery)
[](https://gitee.com/rtttte/Archery/releases)
[](https://codecov.io/gh/hhyo/archery)
[](https://www.python.org/downloads/release/python-365/)
[](https://docs.djangoproject.com/zh-hans/2.2/)
[](https://hub.docker.com/r/hhyo/archery/)
[](http://hits.dwyl.io/hhyo/hhyo/Archery)
[](https://gitee.com/rtttte/Archery/blob/master/LICENSE)
[](https://996.icu)
[文档](https://archerydms.com/) | [FAQ](https://archerydms.com/FAQ/) | [Releases](https://gitee.com/rtttte/Archery/releases)

介绍
============
Archery定位于SQL审核查询平台,旨在提升DBA的工作效率,支持主流数据库的SQL上线和查询,同时支持丰富的MySQL运维功能,所有功能都兼容手机端操作
功能清单
====
| | 查询 | 审核 | 执行 | 备份 | 数据字典 | 慢日志 | 会话管理 | 账号管理 | 参数管理 | 数据归档 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| MySQL | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
| MsSQL | √ | × | √ | × | × | × | × | × | × | × |
| Redis | √ | × | √ | × | × | × | × | × | × | × |
| PgSQL | √ | × | √ | × | × | × | × | × | × | × |
| Oracle | √ | × | √ | × | × | × | × | × | × | × |
| MongoDB | √ | × | × | × | × | × | × | × | × | × |
快速开始
===============
### 系统体验
[在线体验](https://demo.archerydms.com)
| 账号 | 密码 |
| --- | --- |
| 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 dbshell