Skip to content

Commit 9d3a58d

Browse files
committed
修改 README.md
1 parent 1c33735 commit 9d3a58d

2 files changed

Lines changed: 11 additions & 15 deletions

File tree

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
邮箱功能需要在`settings.py`中配置如下参数:
44

5-
```bash
6-
5+
![image-20210421180717445](http://img.xzaslxr.xyz/image-20210421180717445.png)
76

7+
* 下载
8+
```bash
9+
git clone https://github.com/fe1w0/ScanWebShell.git
10+
cd ScanWebShell
811
```
912

10-
![image-20210421180717445](http://img.xzaslxr.xyz/image-20210421180717445.png)
11-
12-
配置环境
13+
* 配置环境
1314
```bash
1415
python3 -m pip install -r requirements.txt
1516
python3 manage.py makemigrations
@@ -24,16 +25,11 @@ docker pull redis:latest
2425
docker run --name=redis -d -p 6379:6379 redis
2526
```
2627

27-
`settings.py`添加
28-
```python
29-
ALLOWED_HOSTS = ['*']
30-
```
31-
32-
`celery`启动
28+
* `celery`启动
3329
```bash
34-
celery -A ScanWebShell worker -l info
30+
celery -A ScanWebShell worker -l info # 可以配合tmux或后台运行工具
3531
```
36-
32+
* runserver
3733
```bash
38-
python manage.py runserver
34+
python3 manage.py runserver 0.0.0.0:8000
3935
```

开发文档.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* search 具体描述某一任务,重点为改任务的结果
3737

3838
其中,仅`index`允许游客访问。
39-
39+
> 环境为开发环境,上传的是生产环境
4040
# User 应用设计
4141

4242
## 后端设计

0 commit comments

Comments
 (0)