pxt-ev3/README.md

70 lines
1.8 KiB
Markdown
Raw Normal View History

2018-04-12 19:33:21 +02:00
# LEGO MINDSTORMS EV3 target for PXT
2017-06-29 16:47:26 +02:00
2017-10-25 02:01:36 +02:00
[![Build Status](https://ci2.dot.net/buildStatus/icon?job=Private/pxt_project_rainbow/master/pxt-ev3_Push)](https://ci2.dot.net/job/Private/job/pxt_project_rainbow/job/master/job/pxt-ev3_Push/)
2017-06-29 16:47:26 +02:00
2018-02-14 20:00:12 +01:00
This repo contains the editor target hosted at https://makecode.legoeducation.com
2017-06-29 16:47:26 +02:00
2018-01-08 23:43:15 +01:00
LEGO Auth: https://src.education.lego.com/groups/ev3-makecode (use Google Authenticator)
LEGO Chat: https://chat.internal.education.lego.com/make-code/channels/town-square
2017-10-30 19:45:02 +01:00
2017-06-29 16:47:26 +02:00
## Local Dev setup
These instructions assume familiarity with dev tools and languages.
2018-02-14 20:00:12 +01:00
* install Node.js 8.9.4+
2017-08-07 12:15:06 +02:00
* install Docker; make sure `docker` command is in your `PATH`
2017-06-29 16:47:26 +02:00
* (optional) install [Visual Studio Code](https://code.visualstudio.com/)
In a common folder,
* clone https://github.com/Microsoft/pxt to ``pxt`` folder
2017-06-29 16:47:26 +02:00
* clone https://github.com/Microsoft/pxt-common-packages to ``pxt-common-packages`` folder
* clone https://github.com/Microsoft/pxt-ev3 to ``pxt-ev3`` folder
* go to ``pxt`` and run
```
npm install
typings install
```
* go to ``pxt-common-packages`` and run
```
npm install
npm link ../pxt
```
* go to ``pxt-ev3`` and run
```
npm install
npm link ../pxt
npm link ../pxt-common-packages
```
## to run the local server
From root github folder,
```
cd pxt-ev3
pxt serve --cloud
```
## to build and deploy a single package via command line
```
cd libs/core
pxt deploy
```
### Jenkins build
https://ci2.dot.net/job/Private/job/pxt_project_rainbow/job/master/
2017-06-29 16:47:26 +02:00
## License
MIT
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.