doc/tutorials/base/blog-in-five-minutes.rst
changeset 12379 04348101688a
parent 12363 72fced7549e6
parent 12362 aa3581fc685c
child 12491 540904e0ff0f
equal deleted inserted replaced
12378:9dcb5e4e705b 12379:04348101688a
     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-blog
    11     cubicweb, cubicweb-dev, cubicweb-twisted, 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 
       
    16 You can also install those packages using pip in a virtualenv::
       
    17 
       
    18    virtualenv venv
       
    19    source venv/bin/activate
       
    20    pip install cubicweb[etwist] cubicweb-dev cubicweb-blog
    15 
    21 
    16 Then create and initialize your instance::
    22 Then create and initialize your instance::
    17 
    23 
    18     cubicweb-ctl create blog myblog
    24     cubicweb-ctl create blog myblog
    19 
    25 
    37 
    43 
    38     cubicweb-ctl start -D myblog
    44     cubicweb-ctl start -D myblog
    39 
    45 
    40 The `-D` option activates the debugging mode. Removing it will launch the instance
    46 The `-D` option activates the debugging mode. Removing it will launch the instance
    41 as a daemon in the background, and ``cubicweb-ctl stop myblog`` will stop
    47 as a daemon in the background, and ``cubicweb-ctl stop myblog`` will stop
    42 it in that case. 
    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.
    43 
    54 
    44 .. _AboutFileSystemPermissions:
    55 .. _AboutFileSystemPermissions:
    45 
    56 
    46 About file system permissions
    57 About file system permissions
    47 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    58 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    74 :file:`/etc/cubicweb.d/myblog/all-in-one.conf` file (or :file:`~/etc/cubicweb.d/myblog/all-in-one.conf` depending on your configuration.)
    85 :file:`/etc/cubicweb.d/myblog/all-in-one.conf` file (or :file:`~/etc/cubicweb.d/myblog/all-in-one.conf` depending on your configuration.)
    75 
    86 
    76 You'll have to restart the instance after modification in one of those files.
    87 You'll have to restart the instance after modification in one of those files.
    77 
    88 
    78 This is it. Your blog is functional and running. Visit http://localhost:8080 and enjoy it!
    89 This is it. Your blog is functional and running. Visit http://localhost:8080 and enjoy it!
    79