Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:2.0:cli:usage [2026/08/23 00:25] – created kainhoferen:2.0:cli:usage [2026/08/24 11:24] (current) – [Installing Admidio from the CLI] kainhofer
Line 1: Line 1:
 ====== Admidio command-line interface ====== ====== Admidio command-line interface ======
 + 
 The Admidio command-line interface (CLI) provides a scriptable administrative interface to Admidio directly from a shell. The Admidio command-line interface (CLI) provides a scriptable administrative interface to Admidio directly from a shell.
  
Line 433: Line 433:
  
 If values are missing and interaction is allowed, the CLI asks for them. With ''--no-interaction'', every required value must be provided as an option. If values are missing and interaction is allowed, the CLI asks for them. With ''--no-interaction'', every required value must be provided as an option.
 +
 +A typical interactive installation, where the ''./admidio install:run'' asks for all required settings looks like:
 +
 +<code bash>
 +www-data@admidio:~/html$ ./admidio install:run
 +
 +Installation of Admidio. Press Ctrl+C to abort.
 +Language of the organization [en]:
 +
 +Address of the installation
 +URL of this Admidio installation:https://www.example.org/admidio
 +
 +Access to the database
 +Database system (mariadb, mysql, pgsql) [mariadb]:
 +Host of the database server [localhost]: localhost
 +Port of the database server, empty for the default port:
 +Name of the database: admidio
 +User of the database: admidio
 +Password of the database user:
 +Prefix of the Admidio tables [adm]:
 +
 +Organization
 +Short name of the organization: EXAMPLE
 +Name of the organization: Example Organization
 +Email address of the organization: admidio@example.org
 +Time zone of the organization [UTC]: Europe/Berlin
 +
 +Administrator
 +Last name of the administrator: Admin
 +First name of the administrator: Anna
 +Email address of the administrator: anna@example.org
 +Login name of the administrator: reinhold
 +Password of the administrator:
 +Repeat the password:
 +
 +Install Admidio for the organization "EXAMPLE" into the database "admidio" of localhost? [y/N] y
 +</code>
  
 A typical non-interactive invocation provides: A typical non-interactive invocation provides:
Line 459: Line 496:
     --organization-shortname=EXAMPLE \     --organization-shortname=EXAMPLE \
     --organization-name="Example Organization" \     --organization-name="Example Organization" \
-    --organization-email=info@example.org \+    --organization-email=admidio@example.org \
     --admin-login=admin \     --admin-login=admin \
     --admin-first-name=Anna \     --admin-first-name=Anna \
  • en/2.0/cli/usage.1787437555.txt.gz
  • Last modified: 2026/08/23 00:25
  • by kainhofer