ens develop
Deploy a workload locally for development. Pure sugar for
ens deploy <name> <kit> --artifacts local --emulate-externals --watch — see
Deploying for what each of those means, and
Local development for the full walkthrough.
ens develop <name>
<name>— the workload's name, matchingci/<name>/delivery.yml.-k, --kit <kit>— deploy kit to use. Default: the onedeploy.<name>.kitin.ensemble/config.yamlnames (seeens deploy), elsecompose.--no-runtime— leave the local runtime the kit deploys to alone: nothing is brought up, and the deploy attaches to what is running. By defaultens developbrings it up if none is: withcompose, the proxy in front of the stack's gateways; withaws, MiniStack, whenAWS_ENDPOINT_URLpoints at this machine. Default:deploy.<name>.development.runtimein.ensemble/config.yaml, else on.--verbose— let the initial pack step show the kit's own build-tool output instead of hiding it behind the pack spinner.--env-file <path>— load an env file (repo-root relative or absolute, repeatable) instead of the defaults:ci/<name>/dev.env,ci/<name>/<kit>.envfor the kit deploying (values only its local target needs), and the untracked.ensemble/deploy/<name>/secrets.env, each read only if it exists.
ens develop web
ens develop web -k aws
Packs the referenced releases, brings the workload up, treats external
resources as auto-creatable local conveniences instead of requiring them to
already exist, and watches for source changes until you stop it with Ctrl+C. A
kit/target with no watch command surfaces an error. With aws, the watch keeps
each function and object-storage bucket that declares development.sync
current with its apps' build output.
A workload with a resource the kit has no provisioner for (a function on
compose, say) fails naming the kit it tried — usually a sign the workload needs
-k or a deploy.<name>.kit entry.
Ensemble