doc/book/en/admin/setup.rst
changeset 2476 1294a6bdf3bf
parent 2458 4d114865098f
child 2536 88595be9087d
equal deleted inserted replaced
2475:b6753521129d 2476:1294a6bdf3bf
    37 
    37 
    38   apt-get update
    38   apt-get update
    39   apt-get install cubicweb cubicweb-dev
    39   apt-get install cubicweb cubicweb-dev
    40 
    40 
    41 `cubicweb` installs the framework itself, allowing you to create
    41 `cubicweb` installs the framework itself, allowing you to create
    42 new applications.
    42 new instances.
    43 
    43 
    44 `cubicweb-dev` installs the development environment allowing you to
    44 `cubicweb-dev` installs the development environment allowing you to
    45 develop new cubes.
    45 develop new cubes.
    46 
    46 
    47 There is also a wide variety of cubes listed on http://www.cubicweb.org/Project available as debian packages and tarball.
    47 There is also a wide variety of cubes listed on http://www.cubicweb.org/Project available as debian packages and tarball.
   110 your development environment ::
   110 your development environment ::
   111 
   111 
   112     export PYTHONPATH=/full/path/to/cubicweb-forest
   112     export PYTHONPATH=/full/path/to/cubicweb-forest
   113 
   113 
   114 If you installed *CubicWeb* with packages, no configuration is required and your
   114 If you installed *CubicWeb* with packages, no configuration is required and your
   115 new cubes will be placed in `/usr/share/cubicweb/cubes` and your applications
   115 new cubes will be placed in `/usr/share/cubicweb/cubes` and your instances
   116 will be placed in `/etc/cubicweb.d`.
   116 will be placed in `/etc/cubicweb.d`.
   117 
   117 
   118 You may run a system-wide install of *CubicWeb* in "user mode" and use it for
   118 You may run a system-wide install of *CubicWeb* in "user mode" and use it for
   119 development by setting the following environment variable::
   119 development by setting the following environment variable::
   120 
   120 
   179 
   179 
   180     $ su postgres -c "echo ALTER USER username WITH PASSWORD 'userpasswd' | psql"
   180     $ su postgres -c "echo ALTER USER username WITH PASSWORD 'userpasswd' | psql"
   181 
   181 
   182   This login/password will be requested when you will create an
   182   This login/password will be requested when you will create an
   183   instance with `cubicweb-ctl create` to initialize the database of
   183   instance with `cubicweb-ctl create` to initialize the database of
   184   your application.
   184   your instance.
   185 
   185 
   186 .. note::
   186 .. note::
   187     The authentication method can be configured in ``pg_hba.conf``.
   187     The authentication method can be configured in ``pg_hba.conf``.
   188 
   188 
   189 
   189