Commit cdd235d1 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

doc(debian): Remove debian package reference from doc

parent 64640b91d75b
......@@ -16,7 +16,6 @@ Depending on your needs, you will chose a different way to install CubicWeb on
your system:
- `Installation using docker`_
- `Installation on Debian/Ubuntu`_
- `Installation in a virtualenv`_
- `Installation with pip`_
- `Installation from tarball`_
......@@ -28,7 +27,6 @@ If you are a power-user and need the very latest features, you will
Once the software is installed, move on to :ref:`ConfigEnv` for better control
and advanced features of |cubicweb|.
.. _`Installation on Debian/Ubuntu`: DebianInstallation_
.. _`Installation in a virtualenv`: VirtualenvInstallation_
.. _`Installation with pip`: PipInstallation_
.. _`Installation from tarball`: TarballInstallation_
......@@ -47,59 +45,6 @@ The images there are built using the following source code :
`docker-cubicweb <https://forge.extranet.logilab.fr/cubicweb/docker-cubicweb/>`_,
see it's `README <https://forge.extranet.logilab.fr/cubicweb/docker-cubicweb/-/blob/branch/default/README.rst>`_
.. _DebianInstallation:
Debian/Ubuntu install
---------------------
|cubicweb| is packaged for Debian/Ubuntu (and derived
distributions). Their integrated package-management system make
installation and upgrade much easier for users since
dependencies (like databases) are automatically installed.
Depending on the distribution you are using, add the appropriate line to your
`list of sources` (for example by editing ``/etc/apt/sources.list``), replacing
``<release>`` with e.g. ``buster`` or ``bionic``::
deb http://apt.logilab.fr <release> main # all cubicweb & cubes
deb http://apt.logilab.fr <release> cubicweb-3.26 # latest cubicweb 3.26 & cubes
The repositories are signed with `Logilab's gnupg key`_. You can download
and register the key to avoid warnings::
wget -O/etc/apt/trusted.gpg.d/logilab.gpg https://apt.logilab.fr/key.asc
Update your list of packages and perform the installation::
apt-get update
apt-get install python3-cubicweb --install-recommends
``python3-cubicweb`` installs the framework itself, allowing you to create new
instances. Installing recommended packages will install the development
environment allowing you to develop new cubes.
There is also a wide variety of :ref:`cubes <AvailableCubes>`. You can access a
list of available cubes using ``apt-cache search cubicweb`` or at the
`CubicWeb.org forge`_.
.. note::
`python3-cubicweb` will install basic sqlite support. You can easily setup
:ref:`cubicweb with other database <DatabaseInstallation>` using the following
virtual packages :
* `python3-cubicweb-postgresql-support` contains the necessary dependencies for
using :ref:`cubicweb with postgresql datatabase <PostgresqlConfiguration>`
.. note::
You may also require extra Debian packages such as::
gettext, graphviz
.. _`list of sources`: http://wiki.debian.org/SourcesList
.. _`Logilab's gnupg key`: https://apt.logilab.fr/key.asc
.. _`CubicWeb.org Forge`: https://forge.extranet.logilab.fr/cubicweb/cubicweb
.. _VirtualenvInstallation:
......
......@@ -60,7 +60,4 @@ To declare the use of a cube, once installed, add the name of the cube
and its dependency relation in the `__depends_cubes__` dictionary
defined in the file `__pkginfo__.py` of your own component.
.. note::
The listed cubes above are available as debian-packages on `CubicWeb's forge`_.
.. _`CubicWeb's forge`: https://forge.extranet.logilab.fr/cubicweb/
......@@ -28,19 +28,6 @@ follows:
│   ├── schema.py
│   └── views.py
├── cubicweb-mycube.spec
├── debian
│   ├── changelog
│   ├── compat
│   ├── control
│   ├── copyright
│   ├── pybuild.testfiles
│   ├── rules
│   ├── source
│   │   ├── format
│   │   └── options
│   └── tests
│   ├── control
│   └── pytest
├── MANIFEST.in
├── README
├── setup.py
......@@ -85,8 +72,6 @@ where :
* ``migration`` contains initialization files for new instances (``postcreate.py``)
and a file containing dependencies of the component depending on the version
(``depends.map``)
* ``debian`` contains all the files managing debian packaging (you will find
the usual files ``control``, ``rules``, ``changelog``... not installed)
* file ``__pkginfo__.py`` provides component meta-data, especially the distribution
and the current version (server side and web interface) or sub-cubes used by
the cube.
......@@ -211,10 +196,10 @@ External resources such as image, javascript and css files
Out-of the box testing
~~~~~~~~~~~~~~~~~~~~~~
.. XXX MANIFEST.in, __pkginfo__.include_dirs, debian
.. XXX MANIFEST.in, __pkginfo__.include_dirs
Packaging and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. XXX MANIFEST.in, __pkginfo__.include_dirs, debian
.. XXX MANIFEST.in, __pkginfo__.include_dirs
......@@ -215,7 +215,6 @@ System administration
:ref:`Raw python deployment <deploy_python>` |
:ref:`Working with Docker <deploy_docker>` |
:ref:`Working with Kubernetes <deploy_kubernetes>` |
:doc:`Working with debian packages <>`
* **Administration:**
:ref:`Cubicweb-ctl tool <cubicweb-ctl>` |
......
......@@ -44,7 +44,7 @@ Mise en place d'un environnement de développement CubicWeb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:durée: 0.5j
Introduction mercurial
Installation de CubicWeb et de ses dépendances (debian !)
Installation de CubicWeb et de ses dépendances
Postgres
Notion de template et d'instance
L'outil `cubicweb-ctl`
......
......@@ -78,9 +78,6 @@ Notice that you can express minimal version of the cube that should be used,
`None` meaning whatever version available. All packages starting with 'cubicweb-'
will be recognized as being cube, not bare python packages.
If your cube is packaged for debian, it's a good idea to update the
`debian/control` file at the same time, so you won't forget it.
Now, I need to install all the dependencies::
cd cubicweb-sytweb
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment