Runway
Runway is built and operated in the EU!

Multi-language

To expand on the the JavaScript example, another option is to skip committing the generated assets and instead instruct Runway to generate them for you: before the Golang application is built and deployed.

Instructions

Consider the previous example, but let’s instruct Runway to build the JavaScript:

Runway CLI
runway app config set BP_NODE_PROJECT_PATH=js
project.toml
[build]
  [[build.env]]
    name = "BP_NODE_PROJECT_PATH"
    value = "js"

Build

This creates the following build plan on Runway:

  1. NodeJS and Golang buildpacks are selected
  2. The project root (path) for the JavaScript code is set to js/
  3. By design, NodeJS buildpack is always run before Golang
  4. Runway automatically runs npm run build
  5. This creates the asset in static/rapidoc.iife.js
  6. The Golang buildpack builds your Golang application (with the asset embedded)
  7. Runway deploys your application