This is an automated email from the ASF dual-hosted git repository.

jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 582784c326f [fix](docs) Added FE dev env setting guide for mac m1 (#76)
582784c326f is described below

commit 582784c326f1a83c8d224773776db395711fb679
Author: DingGeGe <[email protected]>
AuthorDate: Thu Sep 1 12:42:06 2022 +0800

    [fix](docs) Added FE dev env setting guide for mac m1 (#76)
    
    * [fix](docs) Added FE dev env setting guide for mac m1
    * [Enhancement](.gitignore) ignore the .idea files
    * docs(fix): fix zh-cn
---
 .gitignore                                                          | 3 +++
 community/developer-guide/fe-idea-dev.md                            | 6 ++++++
 .../current/developer-guide/fe-idea-dev.md                          | 6 ++++++
 3 files changed, 15 insertions(+)

diff --git a/.gitignore b/.gitignore
index c79d7eabfc9..0d777b094c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,5 +20,8 @@ npm-debug.log*
 yarn-debug.log*
 yarn-error.log*
 
+# idea
+*.idea
+
 *.zip
 yarn.lock
diff --git a/community/developer-guide/fe-idea-dev.md 
b/community/developer-guide/fe-idea-dev.md
index 40fc8ccf06c..2c52b7add06 100644
--- a/community/developer-guide/fe-idea-dev.md
+++ b/community/developer-guide/fe-idea-dev.md
@@ -76,6 +76,12 @@ under the License.
    ```
    mvn clean install -DskipTests
    ```
+
+   If it's MAC M1, run following command
+
+    ```
+    mvn clean install -DskipTests -Dos.arch=x86_64
+    ```
    
    You can also use IDE embedded GUI tools to run maven command to generate 
sources
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/developer-guide/fe-idea-dev.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/developer-guide/fe-idea-dev.md
index b4f032e12ea..14cf02b24af 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/developer-guide/fe-idea-dev.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/developer-guide/fe-idea-dev.md
@@ -69,6 +69,12 @@ JDK1.8+, IntelliJ IDEA
     ```
     cd fe && mvn clean install -DskipTests
     ```
+    
+    如果是mac m1版,则执行:
+   
+    ```
+    cd fe && mvn clean install -DskipTests -Dos.arch=x86_64
+    ```
 
 或者通过图形界面运行 maven 命令生成
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to