瀏覽代碼

README.md edited online with Bitbucket

lebouquetin 11 年之前
父節點
當前提交
91683e5418
共有 1 個文件被更改,包括 14 次插入14 次删除
  1. 14 14
      README.md

+ 14 - 14
README.md 查看文件

43
 
43
 
44
 You'll need to install the following packages:
44
 You'll need to install the following packages:
45
 
45
 
46
-    apt-get install realpath python3 python-virtualenv python-dev python-pip build-essential
46
+    apt-get install realpath python3 python-virtualenv python3-dev python-pip build-essential postgresql-server-dev-all
47
 
47
 
48
 If you work on a local database, then you also need to install PostgreSQL:
48
 If you work on a local database, then you also need to install PostgreSQL:
49
 
49
 
55
 
55
 
56
     git clone https://bitbucket.org/lebouquetin/pod.git
56
     git clone https://bitbucket.org/lebouquetin/pod.git
57
 
57
 
58
+Note: Now everything is documented to be executed from the pod directory newly created.
59
+
58
 ### Setup a database ###
60
 ### Setup a database ###
59
 
61
 
60
 #### Allowing local connections on PostgreSQL ####
62
 #### Allowing local connections on PostgreSQL ####
80
 
82
 
81
     root@hostname:~# su postgres
83
     root@hostname:~# su postgres
82
     postgres@hostname:/root$ psql
84
     postgres@hostname:/root$ psql
83
-    could not change directory to "/root"
84
     psql (9.1.13)
85
     psql (9.1.13)
85
     Type "help" for help.
86
     Type "help" for help.
86
     
87
     
91
 
92
 
92
     CREATE ROLE poduser WITH LOGIN PASSWORD 'podpassword';
93
     CREATE ROLE poduser WITH LOGIN PASSWORD 'podpassword';
93
     CREATE DATABASE poddb OWNER poduser;
94
     CREATE DATABASE poddb OWNER poduser;
94
-    GRANT ALL PRIVILEGES ON DATABASE poddb to poduser;
95
+    GRANT ALL PRIVILEGES ON DATABASE poddb TO poduser;
95
 
96
 
96
 At the end, you can quit the psql client by running the \q quit command:
97
 At the end, you can quit the psql client by running the \q quit command:
97
 
98
 
132
 
133
 
133
     virtualenv -p /usr/bin/python3 tg2env
134
     virtualenv -p /usr/bin/python3 tg2env
134
     source tg2env/bin/activate
135
     source tg2env/bin/activate
135
-    cd pboard && python setup.py develop && cd -
136
-    pip install -r install/requirement.txt
136
+    cd pod && python setup.py develop && cd -
137
+    pip install -r install/requirements.txt
137
     
138
     
138
 Note: you may get errors with stevedore/pbr which is not supported by python 3.2
139
 Note: you may get errors with stevedore/pbr which is not supported by python 3.2
139
 (debian version of python 3). This is not a real problem
140
 (debian version of python 3). This is not a real problem
140
 
141
 
141
 ### Create configuration ###
142
 ### Create configuration ###
142
 
143
 
143
-    cp pboard/development.ini.base pboard/development.ini
144
+    cp pod/development.ini.base pod/development.ini
144
 
145
 
145
 Configure database in the development.ini file. This is defined as sqlalchemy.url
146
 Configure database in the development.ini file. This is defined as sqlalchemy.url
146
 and the default value is below:
147
 and the default value is below:
188
 
189
 
189
         WSGIProcessGroup pod
190
         WSGIProcessGroup pod
190
         WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/demo.archipeldata.com/tg2env/lib/python3.2/site-packages
191
         WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/demo.archipeldata.com/tg2env/lib/python3.2/site-packages
191
-        WSGIScriptAlias / /opt/demo.archipeldata.com/pboard/productionapp.wsgi
192
+        WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
192
 
193
 
193
         #Serve static files directly without TurboGears
194
         #Serve static files directly without TurboGears
194
-        Alias /img     /opt/demo.archipeldata.com/pboard/pboard/public/img/
195
-        Alias /favicon.ico /opt/demo.archipeldata.com/pboard/pboard/public/favicon.ico
196
-        Alias /css        /opt/demo.archipeldata.com/pboard/pboard/public/css
197
-        Alias /javascript /opt/demo.archipeldata.com/pboard/pboard/public/javascript
195
+        Alias /img     /opt/podinstall/pod/pod/public/img/
196
+        Alias /favicon.ico /opt/podinstall/pod/pod/public/favicon.ico
197
+        Alias /css        /opt/podinstall/pod/pod/public/css
198
+        Alias /javascript /opt/podinstall/pod/pod/public/javascript
198
 
199
 
199
         CustomLog /var/log/apache2/demopod-access.log combined
200
         CustomLog /var/log/apache2/demopod-access.log combined
200
         ErrorLog /var/log/apache2/demopod-error.log
201
         ErrorLog /var/log/apache2/demopod-error.log
204
 
205
 
205
 ### Help required ###
206
 ### Help required ###
206
 
207
 
207
-Contact us:
208
+If you need help, contact us. If you want to help, contact us. So... contact us ;)
208
 
209
 
209
-* damien.accorsi@free.fr
210
-* sylvain.ferot@hotmail.xxx
210
+Damien Accorsi - damien.accorsi@free.fr
211
 
211
 
212
 
212