doc/book/en/annexes/cubicweb-ctl.rst
branchstable
changeset 2172 cf8f9180e63e
parent 1898 39b37f90a8a4
child 2175 16d3c37c5d28
equal deleted inserted replaced
2125:19861294506f 2172:cf8f9180e63e
    26 ------------------------
    26 ------------------------
    27 
    27 
    28 * ``newcube``, create a new cube on the file system based on the name
    28 * ``newcube``, create a new cube on the file system based on the name
    29   given in the parameters. This command create a cube from an application
    29   given in the parameters. This command create a cube from an application
    30   skeleton that includes default files required for debian packaging.
    30   skeleton that includes default files required for debian packaging.
    31   
    31 
    32 
    32 
    33 Command to create an instance
    33 Command to create an instance
    34 -----------------------------
    34 -----------------------------
    35 * ``create``, creates the files for the instance configuration
    35 * ``create``, creates the files for the instance configuration
    36 * ``db-create``, creates the system database of an instance (tables and
    36 * ``db-create``, creates the system database of an instance (tables and
    73 
    73 
    74 Commands to maintain i18n catalogs
    74 Commands to maintain i18n catalogs
    75 ----------------------------------
    75 ----------------------------------
    76 * ``i18ncubicweb``, regenerates messages catalogs of the `CubicWeb` library
    76 * ``i18ncubicweb``, regenerates messages catalogs of the `CubicWeb` library
    77 * ``i18ncube``, regenerates the messages catalogs of a cube
    77 * ``i18ncube``, regenerates the messages catalogs of a cube
    78 * ``i18ninstance``, recompiles the messages catalogs of an instance. 
    78 * ``i18ninstance``, recompiles the messages catalogs of an instance.
    79   This is automatically done while upgrading.
    79   This is automatically done while upgrading.
    80 
    80 
    81 See also chapter :ref:`internationalisation`.
    81 See also chapter :ref:`internationalisation`.
    82 
    82 
    83 Other commands
    83 Other commands
   114 
   114 
   115    cubicweb-ctl newcube <mycube>
   115    cubicweb-ctl newcube <mycube>
   116 
   116 
   117 This will create a new cube in ``/path/to/forest/cubicweb/cubes/<mycube>``
   117 This will create a new cube in ``/path/to/forest/cubicweb/cubes/<mycube>``
   118 for a Mercurial forest installation, or in ``/usr/share/cubicweb/cubes``
   118 for a Mercurial forest installation, or in ``/usr/share/cubicweb/cubes``
   119 for a debian packages installation, and then create an instance as 
   119 for a debian packages installation, and then create an instance as
   120 explained just above.
   120 explained just above.
   121 
   121 
   122 
   122