Skip to content

Makecode Target for Beaglebone Boards (based on Makecode Maker)

License

Notifications You must be signed in to change notification settings

vaishnavachath/pxt-beaglebone

Repository files navigation

MakeCode Beaglebone

Build Status

This is an experimental code editor for Beaglebone boards - try it at https://vaishnav98.github.io/pxt-beaglebone/index.html.

Local Dev Server

The local server lets you to run the editor and serve the documentation from your own computer.

Setup

  1. Install Node.js 8.9.4 or higher.
  2. Clone the pxt repository.
git clone https://github.com/microsoft/pxt
cd pxt
  1. Install the dependencies of Microsoft/pxt and build it
npm install
npm run build
cd ..
  1. Clone the vaishnav98/pxt-beaglebone repository
git clone https://github.com/vaishnav98/pxt-beaglebone
cd pxt-beaglebone
  1. Install the PXT command line (add sudo for Mac/Linux shells).
npm install -g pxt
  1. Install the pxt-maker dependencies.
npm install
  1. Link pxt-maker back to base pxt repo (add sudo for Mac/Linux shells).
npm link ../pxt

Note the above command assumes the folder structure of

     beaglebone-makecode
            |
        ---------
        |       |                        
        pxt      pxt-beaglebone

Running

Run this command from inside pxt-maker to open a local web server

pxt serve

If the local server opens in the wrong browser, make sure to copy the URL containing the local token. Otherwise, the editor will not be able to load the projects.

Updates

Make sure to pull changes from all repos regularly. More instructions are at https://github.com/Microsoft/pxt#running-a-target-from-localhost

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

Makecode Target for Beaglebone Boards (based on Makecode Maker)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages