You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add dev mode to CLI
* Updated readme
* Removed dev mode README in favor of adding to Canasta-Documentation
* Fixed xdebug configuration to correctly trigger breakpoints
* Support dev mode in start/stop/restart
* Remove unnecessary varnish bypass
* Removed unused devmode code
* Fix port in Caddyfile
* Remove WithoutDevMode orchestrator functions
* Cleaned up orchestrator function names
* Combined Start/start and Stop/stop
* Add --build-from flag to build from local source repositories
Enable building Canasta installations from local source code for
development and testing. When --build-from is specified:
- Build CanastaBase from local source (if directory exists)
- Build Canasta from local source
- Copy Canasta-DockerCompose from local source (if directory exists)
- Set CANASTA_IMAGE in .env to use the locally built image
Additional changes:
- Separate --dev (boolean) from --dev-tag (image tag specification)
- Fix SaveEnvVariable to add new keys, not just update existing ones
- --dev-tag and --build-from are mutually exclusive
* Fix symlinking in dev mode for user extensions/skins
createCmd.Flags().StringVar(&canastaInfo.WikiDBUsername, "wikidbuser", "root", "The username of the wiki database user (default: \"root\")")
94
108
createCmd.Flags().StringVar(&canastaInfo.WikiDBPassword, "wikidbpass", "", "Wiki database password (if not provided, auto-generates and saves to .env). Tip: Use --wikidbpass \"$WIKI_DB_PASS\" to avoid exposing password in shell history")
95
109
createCmd.Flags().StringVarP(&envFile, "envfile", "e", "", "Path to .env file with password overrides (merged with .env.example)")
110
+
createCmd.Flags().BoolVarP(&devModeFlag, "dev", "D", false, "Enable development mode with Xdebug and code extraction")
111
+
createCmd.Flags().StringVar(&devTag, "dev-tag", "latest", "Canasta image tag to use (e.g., latest, dev-branch)")
112
+
createCmd.Flags().StringVar(&buildFromPath, "build-from", "", "Build Canasta image from local source directory (expects Canasta/, optionally CanastaBase/)")
fmt.Println("\033[32mVSCode: Open the installation directory, install PHP Debug extension, and start 'Listen for Xdebug'.\033[0m")
221
+
}
222
+
156
223
fmt.Println("\033[32mIf you need email enabled for this wiki, please set $wgSMTP; email will not work otherwise. See https://mediawiki.org/wiki/Manual:$wgSMTP for options.\033[0m")
0 commit comments