doc/book/en/devrepo/cubes/cc-newcube.rst
branchstable
changeset 6928 62b8ef1e859a
parent 5608 f9ab62103ad4
--- a/doc/book/en/devrepo/cubes/cc-newcube.rst	Mon Jan 31 17:48:57 2011 +0100
+++ b/doc/book/en/devrepo/cubes/cc-newcube.rst	Tue Feb 01 10:29:56 2011 +0100
@@ -1,5 +1,5 @@
-Creating a new cube from scratch using :command:`cubicweb-ctl newcube`
-----------------------------------------------------------------------
+Creating a new cube from scratch
+--------------------------------
 
 Let's start by creating the cube environment in which we will develop ::
 
@@ -14,7 +14,7 @@
   hg ci
 
 If all went well, you should see the cube you just created in the list
-returned by ``cubicweb-ctl list`` in the  *Available cubes* section. 
+returned by ``cubicweb-ctl list`` in the  *Available cubes* section.
 If not, please refer to :ref:`ConfigurationEnv`.
 
 To reuse an existing cube, add it to the list named
@@ -24,6 +24,14 @@
 database for the instance is created (import_erschema('MyCube') will
 not properly work otherwise).
 
+On a Unix system, the available cubes are usually stored in the
+directory :file:`/usr/share/cubicweb/cubes`. If you are using the
+cubicweb mercurial repository (:ref:`SourceInstallation`), the cubes
+are searched in the directory
+:file:`/path/to/cubicweb_toplevel/cubes`. In this configuration
+cubicweb itself ought to be located at
+:file:`/path/to/cubicweb_toplevel/cubicweb`.
+
 .. note::
 
     Please note that if you do not wish to use default directory for your cubes