compute.rhino3d.appserver

Installing the Rhino Compute AppServer

You are going to want to be able to have this application run in two different locations for different purposes.

Step 1 - Install Rhino 7 and Rhino.Compute

AppServer requires Rhino 7 and Rhino.Compute. Please see the “Developing with Rhino Compute” guide for instructions. Ensure Rhino.Compute (compute.geometry.exe) has started and is listening on http://localhost:8081

Step 2 - Git this repository and install dependencies

Clone this repository and install dependencies

$ git clone https://github.com/mcneel/compute.rhino3d.appserver.git
$ cd compute.rhino3d.appserver
$ npm i

Step 3 - Start project

Debugging

Alternate ways to run the app locally

# uses the ./files/ directory for definitions and http://localhost:8081 as the compute server url (same as "npm run start" defined in package.json)
$ node ./src/bin/www

# or with command line arguments (same as "npm run start-args" defined in package.json)
$ node ./src/bin/www --computeUrl http://localhost:8081/