equal
deleted
inserted
replaced
1 sampleapp README |
1 A sample application to test the pyramid_cubicweb library |
|
2 ========================================================= |
2 |
3 |
3 Before pip installing cubicweb, the following packages are required (on a |
4 Requirements |
4 ubuntu 14.04) : |
5 ------------ |
5 |
6 |
6 libgecode-dev |
7 System requirements |
7 libxml2-dev |
8 ~~~~~~~~~~~~~~~~~~~ |
8 libxslt1-dev |
|
9 |
9 |
10 python-dev |
10 On a ubuntu 14.04:: |
11 |
11 |
12 libz-dev |
12 sudo apt-get install libgecode-dev libxml2-dev libxslt1-dev python-dev \ |
13 libpq-dev |
13 libz-dev libpq-dev libtiff5-dev libfreetype6-dev |
|
14 |
|
15 Python requirements |
|
16 ~~~~~~~~~~~~~~~~~~~ |
|
17 |
|
18 :: |
|
19 |
|
20 pip install -r requirements.txt |
|
21 (cd .. && python setup.py develop) |
|
22 python setup.py develop |
|
23 |
|
24 |
|
25 Cubicweb instance |
|
26 ~~~~~~~~~~~~~~~~~ |
|
27 |
|
28 You need a postgresql server. |
|
29 |
|
30 :: |
|
31 |
|
32 export CW_MODE=user |
|
33 cubicweb-ctl create blog test |
|
34 |
|
35 |
|
36 Running the app |
|
37 --------------- |
|
38 |
|
39 :: |
|
40 |
|
41 pserve --reload develop.ini |