- make:plugin writes plugins/<vendor>/<name> with module <app>/plugins/<vendor>/<name>; the package name stays <name> - make:* and the models-leaf check look in summer.yaml, then plugins/<vendor>/<name>, then the older plugins/<name> - summer new puts its starter plugin at plugins/golem15/<name> - refuse a vendor directory that is a legacy plugin module and a second copy of a plugin that already sits in plugins/<name> - help text and docs, with an upgrading note: moving is optional
18 lines
568 B
Plaintext
18 lines
568 B
Plaintext
created <parent>/sm-demo-app
|
|
|
|
Next steps, inside sm-demo-app:
|
|
docker compose up -d --wait
|
|
summer build
|
|
summer migrate
|
|
summer serve
|
|
|
|
The app has no plugins yet. Add one with summer make:plugin golem15.<name>
|
|
and summer plugin:add plugins/golem15/<name>, then run summer build again.
|
|
|
|
Admin, at http://127.0.0.1:8080/backend once a plugin registers an admin
|
|
controller (.env already holds SUMMER_ADMIN__JWT__SECRET):
|
|
summer make:admin-controller golem15.<plugin> <Name>
|
|
summer build
|
|
summer migrate
|
|
summer admin:create --email you@example.com --superuser
|