From facebc4a8b729237bbb88a8c238f47d89f2931d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AE=8F?= Date: Tue, 19 Sep 2023 21:51:55 +0800 Subject: [PATCH] readme file add hosts config --- README.en.md | 12 ++++++++++++ README.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.en.md b/README.en.md index 674c384e3..74883c04b 100644 --- a/README.en.md +++ b/README.en.md @@ -12,6 +12,18 @@ This is a [vue-vben-admin](https://github.com/anncwb/vue-vben-admin) -based Abp ## Quick Start +### 0、Configurate hosts +windows: modify C:\Windows\System32\drivers\etc\hosts ; +linux: modify /etc/hosts; +add config: +``` + 127.0.0.1 host.docker.internal +``` +In linux, execute restart network command: +```shell + /etc/init.d/network restart +``` + ### 1、Install cli ```shell diff --git a/README.md b/README.md index 4770dcbb5..5466991c6 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,18 @@ ## 快速搭建微服务启动项目 +### 0、设置hosts文件 +windows下,修改 C:\Windows\System32\drivers\etc\hosts 文件; +linux下,修改 /etc/hosts; +增加如下配置: +``` + 127.0.0.1 host.docker.internal +``` +linux下,修改完hosts后需要重启网络,在shell中执行: +```shell + /etc/init.d/network restart +``` + ### 1、安装dotnet工具 ```shell