File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1415python3 -m pip install -r requirements.txt
1516python3 manage.py makemigrations
@@ -24,16 +25,11 @@ docker pull redis:latest
2425docker 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```
Original file line number Diff line number Diff line change 3636 * search 具体描述某一任务,重点为改任务的结果
3737
3838其中,仅` index ` 允许游客访问。
39-
39+ > 环境为开发环境,上传的是生产环境
4040# User 应用设计
4141
4242## 后端设计
You can’t perform that action at this time.
0 commit comments