Redirect to main repo for instructions
This commit is contained in:
parent
7a74def276
commit
faf1385933
46
README.md
46
README.md
@ -1,48 +1,10 @@
|
|||||||
# micro:bit target for KindScript
|
# micro:bit target for KindScript
|
||||||
|
|
||||||
This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) using [KindScript](https://github.com/Microsoft/kindscript).
|
This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) using
|
||||||
|
[Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt).
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/Microsoft/kindscript-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/kindscript-microbit)
|
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
|
||||||
|
|
||||||
# Getting started
|
# Getting started
|
||||||
|
|
||||||
> If you're making changes to kindscript repository itself, proceed to **Local installation** below.
|
Please follow instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
||||||
|
|
||||||
* Clone this repo and run
|
|
||||||
|
|
||||||
```
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
* Install the `KindScript` tool and launch the local server:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm install -g kindscript-cli
|
|
||||||
kind serve
|
|
||||||
```
|
|
||||||
To re-build the `built/target.json` file, re-run `kind serve`.
|
|
||||||
|
|
||||||
|
|
||||||
## Local installation
|
|
||||||
|
|
||||||
* Clone and build [KindScript](https://github.com/Microsoft/kindscript) in a `kindscript` folder.
|
|
||||||
* Clone this repo in a `kindscript-microbit` folder next to `kindscript`
|
|
||||||
|
|
||||||
```
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
* To build and deploy new changes
|
|
||||||
|
|
||||||
```
|
|
||||||
npm install -g kindscript-cli
|
|
||||||
cd ../kindscript
|
|
||||||
jake
|
|
||||||
cd ../kindscript-microbit
|
|
||||||
npm link ../kindscript
|
|
||||||
```
|
|
||||||
* run this command to build and launch a local editor
|
|
||||||
|
|
||||||
```
|
|
||||||
kind serve
|
|
||||||
```
|
|
||||||
* open `localhost:3232` to try your editor!
|
|
||||||
|
Loading…
Reference in New Issue
Block a user