NOTE: This readme is a brief overview. For more in-depth docs on any specific component, refer to the wiki.
Dawn is a cross-platform frontend for the PiE robotics control system. It is the applications students will see and use when programming and testing their robots.
Dawn is a desktop app, but it is written with web technologies and packaged via Electron.
sudo npm install -g electron
git clone https://github.com/pioneers/dawn
.git submodule update --init --recursive
dawn
directory wherever you typed this command. Enter the dawn directory: cd dawn
.npm install
. Remember to do this step whenever you pull changes!dawn
directory):
npm run-script watch
npm run-script build
does a similar thing to npm run-script watch
, but it does not watch for changes, and it builds for production, not development. Use watch
for development and build
when you are about to package an app for production.npm start
.
Debug > Reload
from the menu bar.This is only relevant(if you are releasing for production. If you are just developing you can ignore this.
npm install -g electron-packager
npm run-script build
(as opposed to npm run-script watch
during production).Package app:
dawn
folder:node release.js
You can build for a specific platform and arch by adding --platform=<PLATFORM> --arch=<ARCH>
, where <PLATFORM>
is one of {win32, darwin, linux} and <ARCH>
is one of {ia32, x64}. To build without pruning (which removes your devDependencies) add --noprune
.
These are experimental builds for internal PiE use, and contain the latest features. For the latest stable release, download from here.