Updated docs and VSCode build task
as we discovered some changes we needed in the docs
This commit is contained in:
committed by
Michael Latouche
parent
953e6f2e34
commit
2c34751fd4
10
.github/BUILD.md
vendored
10
.github/BUILD.md
vendored
@@ -27,21 +27,21 @@ If you want to run a build without debugging, see [Building from source](#buildi
|
|||||||
In order to build the Umbraco source code locally with Visual Studio Code, first make sure you have the following installed.
|
In order to build the Umbraco source code locally with Visual Studio Code, first make sure you have the following installed.
|
||||||
|
|
||||||
* [Visual Studio Code](https://code.visualstudio.com/)
|
* [Visual Studio Code](https://code.visualstudio.com/)
|
||||||
* [dotnet SDK v5.0](https://dotnet.microsoft.com/en-us/download)
|
* [dotnet SDK v6.0](https://dotnet.microsoft.com/en-us/download)
|
||||||
* [Node.js v10+](https://nodejs.org/en/download/)
|
* [Node.js v10+](https://nodejs.org/en/download/)
|
||||||
* npm v6.4.1+ (installed with Node.js)
|
* npm v6.4.1+ (installed with Node.js)
|
||||||
* [Git command line](https://git-scm.com/download/)
|
* [Git command line](https://git-scm.com/download/)
|
||||||
|
|
||||||
Open the root folder of the repository in Code.
|
Open the root folder of the repository in Visual Studio Code.
|
||||||
|
|
||||||
To build the front end you'll need to open the command pallet (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) and run `>Tasks: Run Task` followed by `Client Install` and then run the `Client Build` task in the same way.
|
To build the front end you'll need to open the command pallet (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) and run `>Tasks: Run Task` followed by `Client Watch` and then run the `Client Build` task in the same way.
|
||||||
|
|
||||||
You can also run the tasks manually on the command line:
|
You can also run the tasks manually on the command line:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd src\Umbraco.Web.UI.Client
|
cd src\Umbraco.Web.UI.Client
|
||||||
npm install
|
npm install
|
||||||
npm run watch
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
@@ -49,7 +49,7 @@ or
|
|||||||
```
|
```
|
||||||
cd src\Umbraco.Web.UI.Client
|
cd src\Umbraco.Web.UI.Client
|
||||||
npm install
|
npm install
|
||||||
gulp watch
|
gulp dev
|
||||||
```
|
```
|
||||||
|
|
||||||
**The initial Gulp build might take a long time - don't worry, this will be faster on subsequent runs.**
|
**The initial Gulp build might take a long time - don't worry, this will be faster on subsequent runs.**
|
||||||
|
|||||||
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@@ -33,6 +33,18 @@
|
|||||||
"$gulp-tsc"
|
"$gulp-tsc"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Client Watch",
|
||||||
|
"detail": "runs npm run dev for Umbraco.Web.UI.Client",
|
||||||
|
"promptOnClose": true,
|
||||||
|
"group": "build",
|
||||||
|
"type": "npm",
|
||||||
|
"script": "dev",
|
||||||
|
"path": "src/Umbraco.Web.UI.Client/",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$gulp-tsc"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Dotnet build",
|
"label": "Dotnet build",
|
||||||
"detail": "Dotnet build of SLN",
|
"detail": "Dotnet build of SLN",
|
||||||
|
|||||||
Reference in New Issue
Block a user