Skip to content

Commit

Permalink
Merge pull request #202 from linlinger/master
Browse files Browse the repository at this point in the history
Update INSTALL.md
  • Loading branch information
xxxxbxxxxx authored Sep 26, 2021
2 parents a1eebf7 + 42706b8 commit af6e55f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand All @@ -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。
Expand Down

0 comments on commit af6e55f

Please sign in to comment.