updated setup instructions
This commit is contained in:
parent
217fce953d
commit
6e6a98559c
12
README.md
12
README.md
@ -7,7 +7,9 @@ This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) usin
|
|||||||
|
|
||||||
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
|
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
|
||||||
|
|
||||||
# Getting started
|
## Local server
|
||||||
|
|
||||||
|
### Setup
|
||||||
|
|
||||||
The following commands are a 1-time setup after synching the repo on your machine.
|
The following commands are a 1-time setup after synching the repo on your machine.
|
||||||
|
|
||||||
@ -20,10 +22,16 @@ npm install -g pxt
|
|||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
After you're done, simple run this command to open a local web server:
|
### Running
|
||||||
|
|
||||||
|
Run this command to open a local web server:
|
||||||
```
|
```
|
||||||
pxt serve
|
pxt serve
|
||||||
```
|
```
|
||||||
|
To make sure you're running the latest tools, run
|
||||||
|
```
|
||||||
|
npm update
|
||||||
|
```
|
||||||
|
|
||||||
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
||||||
|
|
||||||
|
@ -103,19 +103,6 @@
|
|||||||
"path": "/device"
|
"path": "/device"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sideDocMenu": [
|
"sideDoc": "getting-started"
|
||||||
{
|
|
||||||
"name": "Getting started",
|
|
||||||
"path": "/getting-started"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Lessons",
|
|
||||||
"path": "/lessons"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Reference",
|
|
||||||
"path": "/reference"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user