3 .. _CubicWebInstallation: |
3 .. _CubicWebInstallation: |
4 |
4 |
5 Installation |
5 Installation |
6 ============ |
6 ============ |
7 |
7 |
8 Installation of `Cubicweb` and its dependancies |
8 Installation of `Cubicweb` and its dependencies |
9 ----------------------------------------------- |
9 ----------------------------------------------- |
10 |
10 |
11 `CubicWeb` is available as a debian package as well as an archive. |
11 `CubicWeb` is packaged for Debian and Ubuntu, but can be installed from source |
12 We will detail here the two easiest way to set-up `CubciWeb` |
12 using a tarball or the Mercurial version control system. |
13 environment. |
|
14 |
13 |
15 Debian and Ubuntu packages |
14 Debian and Ubuntu packages |
16 ``````````````````````````` |
15 ``````````````````````````` |
17 Depending on the distribution you are using, add the appropriate line to your list |
16 Depending on the distribution you are using, add the appropriate line to your list |
18 of sources (for example by editing ``/etc/apt/sources.list``) :: |
17 of sources (for example by editing ``/etc/apt/sources.list``). |
|
18 |
|
19 For Debian Lenny:: |
19 |
20 |
20 deb http://ftp.logilab.org/dists/ lenny/ |
21 deb http://ftp.logilab.org/dists/ lenny/ |
|
22 |
|
23 For Debian Sid:: |
|
24 |
|
25 deb http://ftp.logilab.org/dists/ sid/ |
|
26 |
|
27 For Ubuntu Hardy:: |
|
28 |
21 deb http://ftp.logilab.org/dists/ hardy/ |
29 deb http://ftp.logilab.org/dists/ hardy/ |
22 deb http://ftp.logilab.org/dists/ sid/ |
30 |
23 |
31 |
24 You can now install the required packages with the following command: :: |
32 You can now install the required packages with the following command: :: |
25 |
33 |
26 apt-get update ; apt-get install cubicweb |
34 apt-get update ; apt-get install cubicweb |
27 |
35 |
28 This is it! |
36 This is it! |
29 |
37 |
30 ``tar.gz`` archive |
38 Install from source |
31 `````````````````` |
39 ``````````````````` |
32 |
40 |
33 You can download our sources at: :: |
41 You can download the archive containing the sources from our `ftp site`_ at: :: |
34 |
42 |
35 http://ftp.logilab.org/pub/cubicweb/ |
43 http://ftp.logilab.org/pub/cubicweb/ |
36 |
44 |
37 Unpack the sources |
45 .. _`ftp site`: http://ftp.logilab.org/pub/cubicweb/ |
38 |
46 |
|
47 or keep up to date with on-going development by using Mercurial and its forest |
|
48 extension:: |
39 |
49 |
|
50 hg fclone http://www.logilab.org/hg/forests/cubicweb |
40 |
51 |
41 |
52 See :ref:`MercurialPresentation` for more details about Mercurial. |
42 .. note:: |
|
43 `CubicWeb` is also available as a Mercurial repository using the forest |
|
44 extension (see :ref:`MercurialForestInstall` for more details). |
|
45 |
|
46 |
53 |
47 Postgres installation |
54 Postgres installation |
48 ````````````````````` |
55 ````````````````````` |
49 |
56 |
50 Please refer to the project online documentation Postgres_. |
57 Please refer to the `Postgresql project online documentation`_. |
51 |
58 |
52 .. _Postgres: http://www.postgresql.org/ |
59 .. _`Postgres project online documentation`: http://www.postgresql.org/ |
53 |
60 |
54 You need to install the three following packages: `postgres-8.3`, |
61 You need to install the three following packages: `postgres-8.3`, |
55 `postgres-contrib-8.3` and `postgresql-plpython-8.3`. |
62 `postgres-contrib-8.3` and `postgresql-plpython-8.3`. |
56 |
63 |
57 |
64 |