| CODENOTIFIER | HelpYou are not signed inSign in |
Project: ThruDB
Revision: 359
Author: thai
Date: 22 Apr 2008 05:30:30
Diff at Trac: http://trac.thrudb.org/changeset/359
Changes:change readme.txt to README
Files:| ... | ...@@ -1,38 +0,0 @@ | |
| 1 | ========================== | |
| 2 | = HOW TO RUN | |
| 3 | ========================== | |
| 4 | ||
| 5 | 0. install django, see http://www.djangoproject.com for details | |
| 6 | ||
| 7 | 1. install thrudb, see http://www.thrudb.org for details | |
| 8 | ||
| 9 | 2. install thrudex/thrudoc python libraries: | |
| 10 | ||
| 11 | $ cd thrudb/tutorial | |
| 12 | $ make | |
| 13 | $ sudo cp -pvr gen-py/Thrudex gen-py/Thrudoc /usr/lib/python2.5/site-packages/ | |
| 14 | ||
| 15 | if you use python2.4, the last command should look like: | |
| 16 | $ sudo cp -pvr gen-py/Thrudex gen-py/Thrudoc /usr/lib/python2.4/site-packages/ | |
| 17 | ||
| 18 | 3. review thrudex/thrudoc configuration in thrudex.conf and thrudoc.conf respectively. if everything's okie, let's start thrudb: | |
| 19 | ||
| 20 | $ cd thrudb/tutorial | |
| 21 | $ ./thrudbctl start | |
| 22 | ||
| 23 | 4. start grabbing tweets from http://www.twitter.com: | |
| 24 | $ cd thrudb/tutorial/tweetsearch/py | |
| 25 | $ ./search/twitter.py | |
| 26 | ||
| 27 | The application will be running as a daemon. You can see the processs in /tmp/twitter.log, thrudex.log, and thrudoc.log | |
| 28 | ||
| 29 | 5. start the django application | |
| 30 | ||
| 31 | $ cd thrudb/tutorial/tweetsearch/py | |
| 32 | $ python manage.py runserver | |
| 33 | ||
| 34 | the application is available at http://localhost:8000/ | |
| 35 | ||
| 36 | 6. that's it! Contact me if you have any problem. | |
| 37 | ||
| 38 | Thai Duong (thaidn@gmail.com). |
| ... | ...@@ -0,0 +1,38 @@ | |
| 1 | ========================== | |
| 2 | = HOW TO RUN | |
| 3 | ========================== | |
| 4 | ||
| 5 | 0. install django, see http://www.djangoproject.com for details | |
| 6 | ||
| 7 | 1. install thrudb, see http://www.thrudb.org for details | |
| 8 | ||
| 9 | 2. install thrudex/thrudoc python libraries: | |
| 10 | ||
| 11 | $ cd thrudb/tutorial | |
| 12 | $ make | |
| 13 | $ sudo cp -pvr gen-py/Thrudex gen-py/Thrudoc /usr/lib/python2.5/site-packages/ | |
| 14 | ||
| 15 | if you use python2.4, the last command should look like: | |
| 16 | $ sudo cp -pvr gen-py/Thrudex gen-py/Thrudoc /usr/lib/python2.4/site-packages/ | |
| 17 | ||
| 18 | 3. review thrudex/thrudoc configuration in thrudex.conf and thrudoc.conf respectively. if everything's okie, let's start thrudb: | |
| 19 | ||
| 20 | $ cd thrudb/tutorial | |
| 21 | $ ./thrudbctl start | |
| 22 | ||
| 23 | 4. start grabbing tweets from http://www.twitter.com: | |
| 24 | $ cd thrudb/tutorial/tweetsearch/py | |
| 25 | $ ./search/twitter.py | |
| 26 | ||
| 27 | The application will be running as a daemon. You can see the processs in /tmp/twitter.log, thrudex.log, and thrudoc.log | |
| 28 | ||
| 29 | 5. start the django application | |
| 30 | ||
| 31 | $ cd thrudb/tutorial/tweetsearch/py | |
| 32 | $ python manage.py runserver | |
| 33 | ||
| 34 | the application is available at http://localhost:8000/ | |
| 35 | ||
| 36 | 6. that's it! Contact me if you have any problem. | |
| 37 | ||
| 38 | Thai Duong (thaidn@gmail.com) |