Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Jul 21, 2020
1 parent 684979c commit 39684f5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,20 @@ export NALI_DB=geoip
export NALI_DB=ipip
```

### Change database directory

If the database directory is not specified, the database will be placed in `~/.nali`

Set environment variables `NALI_DB_HOME` to specify the database directory

```
set NALI_DB_HOME=D:\nalidb
or
export NALI_DB_HOME=/home/nali
```

## Thanks

- [纯真QQIP离线数据库](http://www.cz88.net/fox/ipdat.shtml)
Expand Down
14 changes: 14 additions & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,20 @@ export NALI_DB=geoip
export NALI_DB=ipip
```

### 更换数据库目录

如果未指定数据库存放目录,数据库默认将存放在 `~/.nali`

设置环境变量 `NALI_DB_HOME` 来指定数据库目录

```
set NALI_DB_HOME=D:\nalidb
or
export NALI_DB_HOME=/home/nali
```

## 感谢列表

- [纯真QQIP离线数据库](http://www.cz88.net/fox/ipdat.shtml)
Expand Down

0 comments on commit 39684f5

Please sign in to comment.