From f873e3fdd1d38028ea731d0acf6191a033929476 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Thu, 28 Apr 2022 23:15:36 +0100 Subject: [PATCH] fix(*): Add corrections to devcontainer post --- docs/web-dev/dev-environment-container-vscode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/web-dev/dev-environment-container-vscode.md b/docs/web-dev/dev-environment-container-vscode.md index cdee395..39a8112 100644 --- a/docs/web-dev/dev-environment-container-vscode.md +++ b/docs/web-dev/dev-environment-container-vscode.md @@ -24,6 +24,8 @@ Yes, that's all they need. They don't even need to install any extensions - the ## How to set up the project +You will need to ensure that you've created a `.gitattributes` file in the root folder if you don't have one already, and specified `* text=auto eol=lf` to default all the line endings to LF, if you're on Windows and find that swapping between the host and the container changes the line endings in all your files. + In the root of the repo create a folder called `.devcontainer`. Within this you need to create three files: 1. `devcontainer.json` @@ -148,7 +150,7 @@ services: mail: image: bytemark/smtp - restart: always + restart: unless-stopped volumes: postgres-data: