better startup instructions
This commit is contained in:
parent
5e024c6f23
commit
2a46935f62
24
README.md
24
README.md
@ -9,19 +9,29 @@ This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) usin
|
|||||||
|
|
||||||
# Getting started
|
# Getting started
|
||||||
|
|
||||||
Please follow instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
The following commands are a 1-time setup after synching the repo on your machine.
|
||||||
|
|
||||||
|
* install the PXT command line
|
||||||
|
```
|
||||||
|
npm install -g pxt
|
||||||
|
```
|
||||||
|
* install the dependencies
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
After you're done, simple run this command to open a local web server:
|
||||||
|
```
|
||||||
|
pxt serve
|
||||||
|
```
|
||||||
|
|
||||||
|
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
||||||
|
|
||||||
## Universal Windows App
|
## Universal Windows App
|
||||||
|
|
||||||
The Windows 10 app is a [Universal Windows Hosted Web App](https://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm)
|
The Windows 10 app is a [Universal Windows Hosted Web App](https://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm)
|
||||||
that wraps m.pxt.io and provides additional features.
|
that wraps m.pxt.io and provides additional features.
|
||||||
|
|
||||||
### Sideloading
|
|
||||||
|
|
||||||
* Open Windows **settings** and search for **Developer options**
|
|
||||||
* Enable the developer mode.
|
|
||||||
* Find the latest build under ``win10/app/AppPackages/latest`` and run the ``Add-AppDevPackage.ps1`` PowerShell script (mouse right-click, then `run with PowerShell`)
|
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
* Install Visual Studio 2015 Update 2 or higher. Make sure the Windows 10 templates are installed.
|
* Install Visual Studio 2015 Update 2 or higher. Make sure the Windows 10 templates are installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user