Giter Site home page Giter Site logo

django-loosecms-search's Introduction

Django Loose CMS - Search

A search plugin for Django Loose CMS.

Requirements

Loose CMS Text plugin requires:

  • Django version 1.8
  • Python 2.6 or 2.7
  • django-loose-cms
  • django-haystack
  • pysolr

Quick Start

  1. Instalation via pip:

    pip install https://github.com/lefterisnik/django-loosecms-search/archive/master.zip
    
  2. Add "loosecms_search" to your INSTALLED_APPS setting after "loosecms" like this:

    INSTALLED_APPS = (
        ...
        'haystack',
        'loosecms_search',
    )
    
  3. Run python manage.py migrate to create the loosecms_search models.

  4. Run development server python manage.py runserver and visit http://127.0.0.1:8000/ to start playing with the cms.

Install Sorl Search Engine Backend

In order to play the plugin you should install the Sorl Search Engine Backend

  1. Download and unzip the sorl source package:

    curl -LO https://archive.apache.org/dist/lucene/solr/4.10.2/solr-4.10.2.tgz
    tar xvzf solr-4.10.2.tgz
    
  2. You'll need to revise your schema:

    python manage.py build_solr_schema
    

    Take the output from that command and place it in solr-4.10.2/example/solr/collection1/conf/schema.xml

  3. You'll need to update search index content:

    python manage.py update_index
    
  4. Move to the Sorl folder and start the service:

    cd solr-4.10.2
    cd example
    java -jar start.jar
    

django-loosecms-search's People

Contributors

lefterisnik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.