11479
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
1 |
[pyramid_cubicweb][] is one specific way of integrating [CubicWeb][] with a |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
2 |
[Pyramid][] web application. |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
3 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
4 |
### Features |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
5 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
6 |
* provides a default route that let a cubicweb instance handle the request. |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
7 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
8 |
### Usage |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
9 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
10 |
To use, install pyramid_cubicweb in your python environment, |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
11 |
and then [include][] the package: |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
12 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
13 |
config.include('pyramid_cubicweb') |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
14 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
15 |
### Configuration |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
16 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
17 |
Requires the following [INI setting / environment variable][]: |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
18 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
19 |
* `cubicweb.instance` / `CUBICWEB_INSTANCE` |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
20 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
21 |
|
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
22 |
[pyramid_cubicweb]: https://www.cubicweb.org/project/pyramid-cubicweb |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
23 |
[CubicWeb]: http://www.cubicweb.com/ |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
24 |
[Pyramid]: http://pypi.python.org/pypi/pyramid |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
25 |
[include]: http://docs.pylonsproject.org/projects/pyramid/en/latest/api/config.html#pyramid.config.Configurator.include |
Christophe de Vienne <christophe@unlish.com>
parents:
diff
changeset
|
26 |
[INI setting / environment variable]: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#adding-a-custom-setting |