mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Update CONTRIBUTING.md
This commit is contained in:
parent
b92a250dc6
commit
7a30ac0613
1 changed files with 23 additions and 6 deletions
|
|
@ -21,16 +21,33 @@ These packages are described in the root file called `metadata.js` and it is pos
|
||||||
|
|
||||||
## Running the editor from source
|
## Running the editor from source
|
||||||
|
|
||||||
```bash
|
You need to have all the build setup of being able to build VS Code to be able to build the Monaco Editor.
|
||||||
# clone vscode
|
|
||||||
/src> git clone https://github.com/Microsoft/vscode
|
|
||||||
|
|
||||||
# install minimal npm deps for vscode
|
* Install all the prerequisites: https://github.com/Microsoft/vscode/wiki/How-to-Contribute#installing-prerequisites
|
||||||
/src/vscode> npm run monaco-editor-setup
|
|
||||||
|
|
||||||
|
### OS X and Linux
|
||||||
|
```
|
||||||
|
/src> git clone https://github.com/microsoft/vscode
|
||||||
|
/src> cd vscode
|
||||||
|
# install npm deps for vscode
|
||||||
|
/src/vscode> ./scripts/npm.sh install
|
||||||
# start the compiler in the background
|
# start the compiler in the background
|
||||||
/src/vscode> node_modules/.bin/gulp watch-client
|
/src/vscode> npm run watch
|
||||||
|
```
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
```
|
||||||
|
/src> git clone https://github.com/microsoft/vscode
|
||||||
|
/src> cd vscode
|
||||||
|
# install npm deps for vscode
|
||||||
|
/src/vscode> scripts\npm.bat install
|
||||||
|
# start the compiler in the background
|
||||||
|
/src/vscode> npm run watch
|
||||||
|
```
|
||||||
|
|
||||||
|
* For the monaco editor test pages:
|
||||||
|
|
||||||
|
```bash
|
||||||
# clone monaco-editor (note the folders must be siblings!)
|
# clone monaco-editor (note the folders must be siblings!)
|
||||||
/src> git clone https://github.com/Microsoft/monaco-editor
|
/src> git clone https://github.com/Microsoft/monaco-editor
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue