Maintain An Existing Project¶
Start with the existing project tree before you edit anything.
Typical project layout¶
An inherited truST project usually has this shape:
project/
runtime.toml
io.toml
trust-lsp.toml
src/
main.st
config.st
hmi/
First steps¶
- Open the project without editing anything yet.
- Inspect the tree and identify
src/,runtime.toml,io.toml, andhmi/. - Run build and validate before touching code.
- Inspect the runtime UI or HMI.
- Change one safe line only.
- Rerun or redeploy.
- Verify the effect.
Questions To Answer First¶
- what does
src/main.stcontrol? - where are
%I/%Qbindings defined? - which runtime URLs/endpoints are enabled?
- is there an HMI folder?
- which driver/backend is configured?
Start with these¶
Avoid first:¶
- Do not start with a blank-folder bootstrap if you already have a project.
- Do not change config and logic in the same first edit.
- Do not deploy before you have a clean build/validate pass.