canasta add
From Canasta Wiki
canasta > add
canasta add
Add a new wiki to a Canasta instance
Synopsis
Add a new wiki to an existing Canasta instance, creating a
wiki farm. The new wiki is registered in wikis.yaml, the
Caddyfile is regenerated, and the MediaWiki installer runs
for the new wiki. You can also import an existing database
dump instead of running the installer.
canasta add [flags]
Examples
canasta add -w docs -u localhost/docs
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--admin |
-a |
Initial wiki admin username | Both | ||
--database |
-d |
Path to existing database dump | Both | ||
--id |
-i |
Canasta instance ID | * | Both | |
--password |
-s |
Initial wiki admin password | Both | ||
--site-name |
-t |
Display name of the wiki | Both | ||
--url |
-u |
Domain/path for the wiki (e.g. localhost/docs) | ✓ | Both | |
--wiki |
-w |
ID of the wiki | ✓ | Both | |
--wiki-settings |
-l |
Path to per-wiki Settings.php | Both | ||
--wikidbuser |
Wiki database username | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |