author | Denis Laxalde <denis.laxalde@logilab.fr> |
Fri, 12 Sep 2014 09:28:32 +0200 | |
changeset 11481 | 10df276abb78 |
parent 11479 | a070f211b35c |
permissions | -rw-r--r-- |
11481
10df276abb78
[doc] Escape _ in README.md
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
11479
diff
changeset
|
1 |
[pyramid\_cubicweb][] is one specific way of integrating [CubicWeb][] with a |
11479 | 2 |
[Pyramid][] web application. |
3 |
||
4 |
### Features |
|
5 |
||
6 |
* provides a default route that let a cubicweb instance handle the request. |
|
7 |
||
8 |
### Usage |
|
9 |
||
11481
10df276abb78
[doc] Escape _ in README.md
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
11479
diff
changeset
|
10 |
To use, install pyramid\_cubicweb in your python environment, |
11479 | 11 |
and then [include][] the package: |
12 |
||
13 |
config.include('pyramid_cubicweb') |
|
14 |
||
15 |
### Configuration |
|
16 |
||
17 |
Requires the following [INI setting / environment variable][]: |
|
18 |
||
19 |
* `cubicweb.instance` / `CUBICWEB_INSTANCE` |
|
20 |
||
21 |
||
11481
10df276abb78
[doc] Escape _ in README.md
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
11479
diff
changeset
|
22 |
[pyramid\_cubicweb]: https://www.cubicweb.org/project/pyramid-cubicweb |
11479 | 23 |
[CubicWeb]: http://www.cubicweb.com/ |
24 |
[Pyramid]: http://pypi.python.org/pypi/pyramid |
|
25 |
[include]: http://docs.pylonsproject.org/projects/pyramid/en/latest/api/config.html#pyramid.config.Configurator.include |
|
26 |
[INI setting / environment variable]: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#adding-a-custom-setting |