sculpture-emulator-client

1.5.13 • Public • Published

sculpture-emulator-client

Responsible for communicating with the streaming server and managing state in a similar manner as the embedded system.

Build Status

Project Setup

Install node.js and npm. Then run the following to install dependencies:

$ npm install

To run in development mode:

$ npm run dev

Deployment

Have anyWareSculpture.github.io checked out in ../

$ npm run build
$ cp -R public/* ../anyWareSculpture.github.io
$ cd ../anyWareSculpture.github.io
<edit package.json: bump version>
$ git add .
$ git commit -m "sync" .
$ git push

How to update disk images

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.

Non-developer HOWTO (Mac)

Prerequisites

  1. Install Node.js (https://nodejs.org/en/download).
    • Choose "LTS (Recommended For Most Users)" -> "Macintosh Installer"
  2. Install GitHub Desktop (https://desktop.github.com)
  3. Download the emulator source code

Daily use

  1. Get latest version

    • Open GitHub Desktop
    • Select "sculpture-emulator-client"
    • Click "Sync"
  2. Install and launch

    • In GitHub Desktop: Right-click on "sculpture-emulator-client" -> "Open in Terminal"
    • In Terminal:
      • npm install
      • npm run dev
  3. To subsequently just launch

    • In Terminal:
      • npm run dev

Dependents (0)

Package Sidebar

Install

npm i sculpture-emulator-client

Weekly Downloads

6

Version

1.5.13

License

MIT

Unpacked Size

298 kB

Total Files

47

Last publish

Collaborators

  • anyware