better startup instructions

This commit is contained in:
Peli de Halleux 2016-05-18 09:18:14 -07:00
parent 5e024c6f23
commit 2a46935f62

View File

@ -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.