Core DevPre-alpha
How to install a module
Goal: register a discovered addon in sys.module and load its manifest.data XML.
Steps
- Ensure the module directory sits under a path listed in
addons_pathinsumeru.conf(comma-separated). Later entries override samemanifest.name.
- If the addon has Go
init()registration, ensurecmd/sumeru/zimports.goblank-imports the addon root package:
```bash
make generate
```
- Install (one-time per database):
```bash shell copy
go run ./cmd/sumeru -- -c sumeru.conf -i engagement_cookbook --stop-after-init
```
Install multiple modules in dependency order in one go:
```bash shell copy
go run ./cmd/sumeru -- -c sumeru.conf -i base,engagement_cookbook --stop-after-init
```
- Start the server normally and use Apps or your menus to open data.
Verify
sys.modulerow forengagement_cookbookwith installed state- Menus and views from
manifest.dataappear after sign-in (subject to access rights)