docs: add doc about how to setup devenv and setup vscode tasks for basic automation

This commit is contained in:
Adrien Allard 2024-06-06 16:07:26 +02:00
parent ac2659cd3d
commit a0337f0858
2 changed files with 30 additions and 0 deletions

23
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,23 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Start dev server",
"type": "shell",
"command": "browser-sync start --server build/ --watch"
},
{
"label": "Build",
"group": "build",
"type": "shell",
"command": "nox -R -s build"
},
{
"label": "Extract localization messages",
"type": "shell",
"command": "nox -R -s extract_messages"
}
]
}

View File

@ -58,3 +58,10 @@ We use the BEM naming convention with the scheme
See https://getbem.com/naming/ for insigths on the BEM naming convention. See https://getbem.com/naming/ for insigths on the BEM naming convention.
We use SASS as a CSS extension language (https://sass-lang.com/). We use SASS as a CSS extension language (https://sass-lang.com/).
### Dev env
Install the following dependencies to be able to test the website locally:
```sh
npm install -g browser-sync
```