Open Source Content Management System

Datagard

  1. Documentation:
    1. Advanced usage

Datagard is the command-line tool for managing Midgard databases and virtual hosts. It can also be used to install additional Midgard applications as Repligard packages.

Documentation:

Advanced usage

The datagard command has three command arguments for power users (syntax: datagard <command>). These are:

  • select - Select individual packages when installing a new database (the default behaviour is to install all packages currently available in the pkgs dir). This makes it possible to install different packages into different databases.
  • download - Download new/updated packages from the internet. This argument tells datagard to prompt you for selecting new/updated packages to download before installing them (affects "Install" and "Import" choises). This command is only usefull for users who use a source installation of datagard.
  • import - This command was originally implemented to support packaging software like RPM to import the package automatically to the database when installing (updates are always imported automatically, installs are imported when you have a Midgard database in place and the select flag is off). This command is pretty useless for binary package users, but for developers this provides an easy way to import a new custom xml package into the database without the need to tell datagard the answers it already knows (db,user,pass etc. - those questions need to be asked because datagard must handle situations where the db settings have changed). This command is only for importing xml packages from the /usr/share/midgard/data/ directory.
Designed by Nemein, hosted by Anykey