Skip to content

Commit

Permalink
删除 readme 中关于部署的详细说明, 只留wiki 链接 (hhyo#2510)
Browse files Browse the repository at this point in the history
和 wiki 中的内容重复了, 以 wiki 的为准
  • Loading branch information
LeoQuote authored Feb 4, 2024
1 parent 9b25f5a commit 37dfc32
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,43 +47,7 @@
| archer | archer |

### Docker
#### 准备运行配置
具体可参考:https://github.com/hhyo/Archery/tree/master/src/docker-compose

#### 启动
下载 [Releases](https://github.com/hhyo/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<sql/fixtures/auth_group.sql
python3 manage.py dbshell<src/init_sql/mysql_slow_query_review.sql

#创建管理用户
python3 manage.py createsuperuser

#退出docker sh
exit

#重启服务
docker restart archery

#日志查看和问题排查
docker logs archery -f --tail=10
logs/archery.log
```

#### 访问
http://127.0.0.1:9123/
参考 https://github.com/hhyo/archery/wiki/docker

手动安装
===============
Expand Down

0 comments on commit 37dfc32

Please sign in to comment.