- Start a template builder with
novita.template.new(). - Build the template with
novita.template.build(...)before creating a sandbox. - Pass the returned template ID into
novita.sandbox.create(...). - Move startup logic into
setStartCmd(...)/set_start_cmd(...)so the environment is ready before runtime requests arrive. - Move repeated package installation and file-copy steps into the template build instead of running them after sandbox launch.
- Use tags for release promotion instead of changing template names for every rollout.
JavaScript & TypeScript
Python