diff -r 7276f1c89ddd -r 9d88e1177c35 doc/tutorials/base/blog-in-five-minutes.rst --- a/doc/tutorials/base/blog-in-five-minutes.rst Thu Mar 21 12:05:30 2019 +0100 +++ b/doc/tutorials/base/blog-in-five-minutes.rst Thu Mar 21 14:33:54 2019 +0100 @@ -8,7 +8,7 @@ For Debian or Ubuntu users, first install the following packages (:ref:`DebianInstallation`):: - cubicweb, cubicweb-dev, cubicweb-twisted, cubicweb-blog + cubicweb, cubicweb-dev, cubicweb-pyramid, cubicweb-blog Windows or Mac OS X users must install |cubicweb| from source (see :ref:`SourceInstallation` and :ref:`WindowsInstallation`). @@ -17,7 +17,7 @@ virtualenv venv source venv/bin/activate - pip install cubicweb[etwist] cubicweb-dev cubicweb-blog + pip install cubicweb[pyramid] cubicweb-dev cubicweb-blog Then create and initialize your instance:: @@ -38,19 +38,16 @@ choose `sqlite` when asked for which database driver to use, since it has a much simple setup (no database server needed). +Then, you need to setup the CubicWeb Pyramid interface, as document at +:ref:`pyramid_settings`. + One the process is completed (including database initialisation), you can start your instance by using: :: - cubicweb-ctl start -D myblog + cubicweb-ctl pyramid -D myblog The `-D` option activates the debugging mode. Removing it will launch the instance -as a daemon in the background, and ``cubicweb-ctl stop myblog`` will stop -it in that case. - -.. Note:: - - If you get a traceback when going on the web interface make sure your - version of twisted is **inferior** to 17. +as a daemon in the background. .. _AboutFileSystemPermissions: