Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
jscslld committed Dec 24, 2023
1 parent afa5e20 commit 716f270
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 5 additions & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,8 @@ cython_debug/

# DL Model

model/
model/change_detection/
model/classification/
model/image_restoration/
model/object_detection/
model/semantic_segmentation/
Empty file added backend/model/.gitkeep
Empty file.
9 changes: 4 additions & 5 deletions docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ GeoView基于PaddleRS导出的预测模型(静态图)进行图像解译。

### 修改 Web 后端配置文件

首先切换到`backend/`目录。`.flaskenv_template`文件重命名为`.flaskenv``.flaskenv`中,修改MySQL配置信息,各配置项含义如下:
首先切换到`backend/`目录。在`.flaskenv`中,修改MySQL配置信息,各配置项含义如下:

```plain
# MySQL配置信息
Expand All @@ -75,11 +75,10 @@ host:
### 百度地图 Access Key 设置
在项目根目录下的`config.yaml`文件中将`<ACCESS_KEY>`替换为百度地图的Access Key。百度地图的Access Key可在[百度地图开放平台](http://lbsyun.baidu.com/apiconsole/key?application=key)申请。
在frontend目录下的`.env`文件中将`<ACCESS_KEY>`替换为百度地图的Access Key。百度地图的Access Key可在[百度地图开放平台](http://lbsyun.baidu.com/apiconsole/key?application=key)申请。

``` yaml
baidu_map:
access_key: <ACCESS_KEY>
``` ini
VUE_APP_BAIDU_MAP_ACCESS_KEY = <ACCESS_KEY>
```

## 3 Web 前后端启动
Expand Down

0 comments on commit 716f270

Please sign in to comment.