Skip to content

Files

Latest commit

69e4ce5 · Mar 24, 2025

History

History
18 lines (9 loc) · 909 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 909 Bytes

This is a static deployment of a RapydScript runner

This is a runner for RapydScript WebVPython programs. The runner must be embedded as an iframe within a host application. The host communicates with the runner through the iframe's "postMessage" method.

The runner can send results, errors, and screen grabs to the host window postMessge.

You must configure the "trusted host" environment variable on the deployed system to match the root URL of the host using this runner.

Because this is a static deployment, you need to configure the trusted host in the /untrusted/run.html file.

You can copy sample.run.html to run.html and edit the embedded javascript to set the trusted_host variable.

To run a simple web server in a code space use "bash -v serve.sh"

Copy individual files to cloud storage, e.g.,

gsutil cp package/glow.3.2.min.js gs://rswvprunner/rsWVPRunner/package/glow.3.2.min.js