From 3d63f1d753361ddba0daedfb616c35dbafe5e3d4 Mon Sep 17 00:00:00 2001 From: Elliott Chen Date: Wed, 13 Nov 2024 11:10:56 +0800 Subject: [PATCH] docs: adding git global setting to handle line endings adding git global setting to handle line endings --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2e17a16..cb54a308 100644 --- a/README.md +++ b/README.md @@ -105,13 +105,20 @@ And, if you choose to use OpenAI Realtime API, then the Vision and RAG won't be - CPU >= 2 Core - RAM >= 4 GB -#### Docker setting on Apple Silicon +#### MacOS: Docker setting on Apple Silicon You will need to uncheck "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option for Docker if you are on Apple Silicon. However, please note that build and connection times will be a little slower due to emulation when running on ARM systems. Once deployed to x64 (e.g. your Linux server) it will be much faster. ![Docker Setting](https://github.com/TEN-framework/docs/blob/main/assets/gif/docker_setting.gif?raw=true) +#### Windows: Configuring Git to handle line endings +To avoid problems in `make run-server` later, you can configure Git to properly handle line endings on Windows.([more here](https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings?platform=windows)) + +```bash +git config --global core.autocrlf true +``` + ### Next step #### 1. Modify config files