Skip to content

Commit

Permalink
docs: adding git global setting to handle line endings (#399)
Browse files Browse the repository at this point in the history
adding git global setting to handle line endings
  • Loading branch information
cyfyifanchen authored Nov 13, 2024
1 parent 326141b commit 9708270
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9708270

Please sign in to comment.