[doc] Update README "Getting started"
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 27 Mar 2019 15:43:53 +0100
changeset 12532 38004d09d178
parent 12531 2b9e815d20dc
child 12533 3657b5d82590
[doc] Update README "Getting started" * install using pip and with pyramid in a virtualenv * link to pyramid.ini documentation * Use pyramid to start application since twisted support is gone
README
--- a/README	Thu Mar 21 14:36:25 2019 +0100
+++ b/README	Wed Mar 27 15:43:53 2019 +0100
@@ -21,9 +21,14 @@
 
 Execute::
 
- apt-get install cubicweb cubicweb-dev cubicweb-blog
+ python3 -m venv venv
+ source venv/bin/activate
+ pip install 'cubicweb[pyramid]' cubicweb-blog
  cubicweb-ctl create blog myblog
- cubicweb-ctl start -D myblog
+ # read how to create your ~/etc/cubicweb.d/myblog/pyramid.ini file here:
+ # https://cubicweb.readthedocs.io/en/latest/book/pyramid/settings/#pyramid-settings-file
+ # then start your instance:
+ cubicweb-ctl pyramid -D myblog
  sensible-browser http://localhost:8080/
 
 Details at https://cubicweb.readthedocs.io/en/3.26/tutorials/base/blog-in-five-minutes