Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
achtoung crlf readme
Browse files Browse the repository at this point in the history
  • Loading branch information
basilelt committed Jun 24, 2024
1 parent 95d1da9 commit d2698d2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

Welcome to the SAEMicroServices project! This document provides an overview of how to set up and run the project in both development and production environments using Docker.

## ACHTOUNG CRLF ON WINDOWS
If you are using windows, you may encounter an issue with the line endings. To fix this, you can change the line ending of `.sh` files to LF. You can use the following command to do this:

```batch
@echo off
setlocal enabledelayedexpansion
set "rootDir=."
:: Loop through all .sh files in the directory and its subdirectories
for /r "%rootDir%" %%f in (*.sh) do (
:: Use 'type' command to display the file content and redirect output to a temporary file with Unix line endings (LF)
type "%%f" | findstr /v /r "^$" > "%%f.tmp"
move /y "%%f.tmp" "%%f" >nul
)
echo Conversion to LF completed.
endlocal
```


## Development Environment Setup

### Docker-Test Environment
Expand Down

0 comments on commit d2698d2

Please sign in to comment.