docs/narr/quickstart.rst
changeset 11537 caf268942436
child 11585 7d6d4edc0ed0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/narr/quickstart.rst	Sat Jan 03 22:06:03 2015 +0100
@@ -0,0 +1,37 @@
+Quick start
+===========
+
+.. highlight:: console
+
+From CubicWeb
+-------------
+
+-   Install everything (here with pip, possibly in a virtualenv)::
+
+        pip install pyramid-cubicweb cubicweb-pyramid pyramid_debugtoolbar
+        
+-   Make sure CubicWeb is in user mode::
+
+        export CW_MODE=user
+
+-   Create a CubicWeb instance, and install the 'pyramid' cube on it (see
+    :ref:`configenv` for more details on this step)::
+
+        cubicweb-ctl create pyramid myinstance
+
+    .. warning::
+
+        You `must` allow anonymous access.
+
+-   Edit your ``~/etc/cubicweb.d/myinstance/all-in-one.conf`` and set values for
+    :confval:`pyramid-auth-secret` and :confval:`pyramid-session-secret`.
+
+-   Start the instance with the :ref:`'pyramid' command <cubicweb-ctl_pyramid>`
+    instead of 'start'::
+
+        cubicweb-ctl pyramid --debug myinstance
+
+In a pyramid application
+------------------------
+
+Coming soon.