(with Compute Geometry server running on a Windows Server)
$ git clone https://github.com/mcneel/compute.rhino3d.appserver.git
$ cd compute.rhino3d.appserver
$ heroku login
$ heroku create myappname
You will see that your app was created and has a domain and a git repository:
Creating myappname... done
https://myappname.herokuapp.com | https://git.heroku.com/myappname.git
RHINO_COMPUTE_URL
variable. The VALUE of this should be the address to the server running compute. Ensure this address ends in a /
.
$ heroku config:set RHINO_COMPUTE_URL=http://your-compute-server-address/
RHINO_COMPUTE_KEY
variable. The VALUE of this should be the API Key set for the server running compute.
$ heroku config:set RHINO_COMPUTE_KEY=SOME_API_KEY
$ git push heroku main
$ heroku open
More
button and selecting View logs
.