Salut Pour les gens qui ont une installation Ubuntu et qui veulent tester le Tutorial ,je viens de verifier que ./make.sh fait aussi le job d'installation . Il faudrait juste apres installer pyelasticsearch et requests qui ne sont pas disponible apres une installation fraiche de Ubuntu et Python .Je teste avec la version suivante
============= dia@dia-desktop:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04 LTS Release: 10.04 Codename: lucid dia@dia-desktop:~$ ============= Ensuite le truc classique quoi , git machine , cd truc # Installation de git dia@dia-desktop:~$ sudo apt-get install git-core # Telechargement depuis le git de DakarLug dia@dia-desktop:~$ git clone https://github.com/Dakarlug/haystack_tutorial # j'entre dans [haystack_tutorial/] cd haystack_tutorial/ # J'entre dans [haystack_app/] dia@dia-desktop:~/haystack_tutorial$ cd haystack_app/ # J'execute le script ./make.sh sur Ubuntu 10 qui va faire les # choses suivantes: #1 ) elasticsearch-0.90.7 # http://www.elasticsearch.org/downloads/0-90-7/2 #2 ) wikipedia river # https://github.com/elasticsearch/elasticsearch-river-#wikipedia #3) django-haystack # http://haystacksearch.org/ #4) django 1.6 # https://www.djangoproject.com/download/ #5) openjdk-6-jdk # http://openjdk.java.net/ dia@dia-desktop:~/haystack_tutorial/haystack_app$ ./make.sh # Installation de requests dia@dia-desktop: pip install requests # Installation de requests dia@dia-desktop: pip install pyelasticsearch # Je cree un project django demo dia@dia-desktop:~$ mkdir tmp # Je cree un projet django nome haystack_tutorial dia@dia-desktop:~/tmp$ django-admin.py startproject haystack_tutorial # Je fais une copie de mon source git dans ce projet. dia@dia-desktop:~/tmp$ cp -r ../haystack_tutorial/ haystack_tutorial/ # je rentre dans mon projet dia@dia-desktop:~/tmp$ cd haystack_tutorial/ # je mets a jour les indexes dia@dia-desktop:~/tmp/haystack_tutorial$ python manage.py update_index - v2 # Demarre le server dia@dia-desktop:~/tmp/haystack_tutorial$ python manage.py runserver Validating models... 0 errors found September 18, 2014 - 12:46:15 Django version 1.6, using settings 'haystack_tutorial.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. --Ad --Ad Le 02/09/2014, Alioune Dia<[email protected]> a écrit : > Salut > > Suite a la video que j'ai partagé avec Vous récemment traitant > les problèmes de Large Data /Big Data . J'ai pense écrire un > Tutoriel [1], dont le seul But est de vérifier les performances de > recherche de données lorsque la taille devient critique . Dans des > contextes très différents les gens font face aux mêmes problématiques > d’accès aux données dans des délais raisonnables > > > ElasticSearch [2] , peut être un début de solution a ce problématique . > J'ai > également consulté des vidéos écris par des Français , et qui m'ont > donnée l'idée de tester un volume important d'information > en Indexant tout simplement Wikipedia ! > > > Ce Tutoriel est écrit dans un environnement Debian Weezy , Il se pourrait > donc que vous soyez amené a modifier le script ./make.sh [3] pour > l'installer dans votre environnement , mais cela ne devrait pas être > difficile > > La plus part du code est inspiré dans HaysTack [4] , > une Librairie Python -Django pour interfacer ElastictSearch . > > Pour la riviere Wikipedia , il est déjà installé par ./make [3] , mais > pour la > documentation , il faut voir ici [4] > > [1] - https://github.com/Dakarlug/haystack_tutorial > > [2] - http://www.elasticsearch.org/ > > [3] - > https://github.com/Dakarlug/haystack_tutorial/blob/master/haystack_app/make.sh > > [4] - http://haystacksearch.org/ > > [5] - https://github.com/elasticsearch/elasticsearch-river-wikipedia > > --Ad > -- Ce message a été envoyé à la liste [email protected] Gestion de votre abonnement : http://dakarlug.org/liste Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug Le site du DakarLUG : http://dakarlug.org
