author | Denis Laxalde <denis.laxalde@logilab.fr> |
Tue, 28 Jun 2016 09:44:08 +0200 | |
changeset 11627 | 1526ae74ab69 |
parent 11490 | addf68740dbb |
permissions | -rw-r--r-- |
11490
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
1 |
A sample application to test the pyramid_cubicweb library |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
2 |
========================================================= |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
3 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
4 |
Requirements |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
5 |
------------ |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
6 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
7 |
System requirements |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
8 |
~~~~~~~~~~~~~~~~~~~ |
11486
cadcedf11b7e
Documents dependencies on a ubuntu system
Christophe de Vienne <christophe@unlish.com>
parents:
11483
diff
changeset
|
9 |
|
11490
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
10 |
On a ubuntu 14.04:: |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
11 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
12 |
sudo apt-get install libgecode-dev libxml2-dev libxslt1-dev python-dev \ |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
13 |
libz-dev libpq-dev libtiff5-dev libfreetype6-dev |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
14 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
15 |
Python requirements |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
16 |
~~~~~~~~~~~~~~~~~~~ |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
17 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
18 |
:: |
11486
cadcedf11b7e
Documents dependencies on a ubuntu system
Christophe de Vienne <christophe@unlish.com>
parents:
11483
diff
changeset
|
19 |
|
11490
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
20 |
pip install -r requirements.txt |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
21 |
(cd .. && python setup.py develop) |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
22 |
python setup.py develop |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
23 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
24 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
25 |
Cubicweb instance |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
26 |
~~~~~~~~~~~~~~~~~ |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
27 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
28 |
You need a postgresql server. |
11486
cadcedf11b7e
Documents dependencies on a ubuntu system
Christophe de Vienne <christophe@unlish.com>
parents:
11483
diff
changeset
|
29 |
|
11490
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
30 |
:: |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
31 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
32 |
export CW_MODE=user |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
33 |
cubicweb-ctl create blog test |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
34 |
|
11486
cadcedf11b7e
Documents dependencies on a ubuntu system
Christophe de Vienne <christophe@unlish.com>
parents:
11483
diff
changeset
|
35 |
|
11490
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
36 |
Running the app |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
37 |
--------------- |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
38 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
39 |
:: |
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
40 |
|
addf68740dbb
Provide instructions and a requirements list to quickly start the sample
Christophe de Vienne <christophe@unlish.com>
parents:
11486
diff
changeset
|
41 |
pserve --reload develop.ini |