This is an old revision of the document!


Development Tools and Code

This describes the recommended toolset for development. Other editors and IDEs may work as well, but this is probably the easiest way to get up and running.

  • Install the Atom editor.
  • Install the Atom IDE package, including typescript support. These packages are added from within the Atom editor.
  • Clone the Blocks scripting github repo into the script directory located inside PIXILAN-root, located in your home directory (assuming Blocks has been run on this computer).
  • Alternatively, if git is not available, download the ZIP file from the repo, unpack it, and move its content into the script directory mentioned above.

:!: If you already have some of the files or directories included in the set obtained from github on your computer, you need to merge the files with the existing ones, and update any conflicting files as necessary.

Once this is done, your PIXILAN-root/script directory should contain at least the following items

driver
system
system_lib
LICENSE
README.md
tsconfig.json

The first three items shown above are directories, containing the files obtained from github. They may contain additional files, if you had drivers installed before.

Once you have those pieces in place, restart your local Blocks server and open the Blocks Editor using your web browser. You should now find the drivers on the Driver menu of a TCP Device added on the Manage page. If you don't see the drivers listed there, they're not installed in the proper location (see above).

Proceed with learning about basic concepts.