This add-on integrates Opencode into your DDEV project.
ddev add-on get dragonwize/ddev-opencode
ddev restartAfter installation, make sure to commit the .ddev directory to version control.
| Command | Description |
|---|---|
ddev opencode |
Start OpenCode in the container. |
ddev opencode-serve |
Start OpenCode server. Then connect to it from outside with `opencode attach :4096. |
OpenCode has new versions very frequently. Since the install is cached in the Docker container for faster startups, a container rebuild is needed to pull the latest version.
ddev add-on get dragonwize/ddev-opencode
ddev restart --no-cacheIf you want to update quickly, knowing it will not keep on restart: (Useful to check the new version before saving in your docker container)
ddev opencode upgradeContributed and maintained by @dragonwize