doc/tutorials/base/blog-in-five-minutes.rst
changeset 12530 9d88e1177c35
parent 12491 540904e0ff0f
child 12658 fdd7165fe1f3
equal deleted inserted replaced
12529:7276f1c89ddd 12530:9d88e1177c35
     6 -----------------------------------
     6 -----------------------------------
     7 
     7 
     8 For Debian or Ubuntu users, first install the following packages
     8 For Debian or Ubuntu users, first install the following packages
     9 (:ref:`DebianInstallation`)::
     9 (:ref:`DebianInstallation`)::
    10 
    10 
    11     cubicweb, cubicweb-dev, cubicweb-twisted, cubicweb-blog
    11     cubicweb, cubicweb-dev, cubicweb-pyramid, cubicweb-blog
    12 
    12 
    13 Windows or Mac OS X users must install |cubicweb| from source (see
    13 Windows or Mac OS X users must install |cubicweb| from source (see
    14 :ref:`SourceInstallation` and :ref:`WindowsInstallation`).
    14 :ref:`SourceInstallation` and :ref:`WindowsInstallation`).
    15 
    15 
    16 You can also install those packages using pip in a virtualenv::
    16 You can also install those packages using pip in a virtualenv::
    17 
    17 
    18    virtualenv venv
    18    virtualenv venv
    19    source venv/bin/activate
    19    source venv/bin/activate
    20    pip install cubicweb[etwist] cubicweb-dev cubicweb-blog
    20    pip install cubicweb[pyramid] cubicweb-dev cubicweb-blog
    21 
    21 
    22 Then create and initialize your instance::
    22 Then create and initialize your instance::
    23 
    23 
    24     cubicweb-ctl create blog myblog
    24     cubicweb-ctl create blog myblog
    25 
    25 
    36 use for that instance. For a quick test, if you don't have `postgresql` installed
    36 use for that instance. For a quick test, if you don't have `postgresql` installed
    37 and configured (see :ref:`PostgresqlConfiguration`), it's highly recommended to
    37 and configured (see :ref:`PostgresqlConfiguration`), it's highly recommended to
    38 choose `sqlite` when asked for which database driver to use, since it has a much
    38 choose `sqlite` when asked for which database driver to use, since it has a much
    39 simple setup (no database server needed).
    39 simple setup (no database server needed).
    40 
    40 
       
    41 Then, you need to setup the CubicWeb Pyramid interface, as document at
       
    42 :ref:`pyramid_settings`.
       
    43 
    41 One the process is completed (including database initialisation), you can start
    44 One the process is completed (including database initialisation), you can start
    42 your instance by using: ::
    45 your instance by using: ::
    43 
    46 
    44     cubicweb-ctl start -D myblog
    47     cubicweb-ctl pyramid -D myblog
    45 
    48 
    46 The `-D` option activates the debugging mode. Removing it will launch the instance
    49 The `-D` option activates the debugging mode. Removing it will launch the instance
    47 as a daemon in the background, and ``cubicweb-ctl stop myblog`` will stop
    50 as a daemon in the background.
    48 it in that case.
       
    49 
       
    50 .. Note::
       
    51 
       
    52    If you get a traceback when going on the web interface make sure your
       
    53    version of twisted is **inferior** to 17.
       
    54 
    51 
    55 .. _AboutFileSystemPermissions:
    52 .. _AboutFileSystemPermissions:
    56 
    53 
    57 About file system permissions
    54 About file system permissions
    58 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~