Responsible for communicating with the streaming server and managing state in a similar manner as the embedded system.
Install node.js and npm. Then run the following to install dependencies:
$ npm install
Note: If using local dev versions of libraries:
npm link anyware
npm link @anyware/sound-assets
To run in development mode:
$ npm run dev
Have anyWareSculpture.github.io checked out in ../
$ <edit package.json: bump version>
$ npm run build
$ cp -R public/* ../anyWareSculpture.github.io
$ cd ../anyWareSculpture.github.io
$ git add .
$ git commit -m "sync"
$ git push
To update the disk images, add the files to the images/
directory. Run gulp images
, or have gulp watch
running prior to making changes.
Disk images must meet the following criteria:
- Provide images in their respective 'zeroed' positions;
- Images must be square;
- All three must have same dimensions;
- Image files may be
.png
,.jpg
, or.gif
.
The application looks for files named disk0.png
, disk1.png
, and disk2.png
as the default disk images. These filenames are configurable in config.js
under diskUrls
.
- Install Node.js (https://nodejs.org/en/download).
- Choose "LTS (Recommended For Most Users)" -> "Macintosh Installer"
- Install GitHub Desktop (https://desktop.github.com)
- Download the emulator source code
- Visit https://github.com/anyWareSculpture/sculpture-emulator-client
- Click "Clone or download" -> "Open in Desktop"
- Choose an appropriate location to store the code
-
Get latest version
- Open GitHub Desktop
- Select "sculpture-emulator-client"
- Click "Sync"
-
Install and launch
- In GitHub Desktop: Right-click on "sculpture-emulator-client" -> "Open in Terminal"
- In Terminal:
npm install
npm run dev
-
To subsequently just launch
- In Terminal:
npm run dev
- In Terminal: