From 42706b82347f3f958be718da785a51fd20837641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=87=8C=E5=84=BF?= <32541118+linlinger@users.noreply.github.com> Date: Thu, 23 Sep 2021 19:28:07 +0800 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index ed3fa584..889b5434 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -127,7 +127,7 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple yum install mysql-devel pip3 install mysqlclient -i https://pypi.tuna.tsinghua.edu.cn/simple ``` -修改setting文件 +修改/data/web/vulfocus-api/vulfocus/settings.py文件 ```shell script DATABASES = { 'default': { @@ -152,6 +152,13 @@ python manage.py migrate python manage.py createsuperuser ``` +若是执行第一个命令时提示错误ValueError: Dependency on app with no migrations: user +请执行 + +```shell +python manage.py makemigratations +``` + #### 靶场配置: 2. 配置 VUL_IP(`vulfocus/settings.py`),修改为 Docker 服务器的 IP。