GithubHelp home page GithubHelp logo

shmiko / metasearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linzeyang/metasearch

0.0 2.0 0.0 523 KB

MetaSearch

Home Page: http://zeyang.alwaysdata.net/metasearch

License: MIT License

Python 61.13% JavaScript 2.44% CSS 2.20% HTML 34.23%

metasearch's Introduction

Meta-Search, a web application powered by Django.

Live DEMO:

http://zeyang.alwaysdata.net/metasearch

Main features:

  • Aggregated and non-aggregated search mode
  • Client-side and server-side validation
  • Query pre-processing
  • Boolean operator support
  • Optional cluster feature

Installation:

  1. Make sure the following software are installed in your system:

  2. Install the following Python package:

  3. Create a new Django project or choose from one of your existing Django projects, then unzip "metasearch" folder into that project's root folder.

  4. Edit the following sector in settings.py of that project:

    • In INSTALLED_APPS append 'metasearch'
  5. Edit urls.py of that project:

    • In patterns() append the following line:
      url(r'^metasearch/', include('metasearch.urls')),
      

Getting it run:

  • If you are using Django's own development server, just run manage.py of your project and locate http://your-domain:port/metasearch/ in your browser.

  • For Apache httpd server (only applicable for version 2.2.xx), in WSGI mode:

    1. Install mod_wsgi module for Apache. ( https://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2 )
    2. Open httpd.conf in your_apache_path/conf/, and append the following lines at the end of file:
      #change the path into your actual path of mod_wsgi.so
      LoadModule wsgi_module /your_apache_path/modules/mod_wsgi.so
      
      #change the path into your project's path of /static/
      Alias /static/ your_project_path/static/
      
      #change the path into your project's path of /static/
      <Directory your_project_path/static/>
      Order deny,allow
      Allow from all
      </Directory>
      
      #change the path into your project's path of wsgi.py
      WSGIScriptAlias / your_project_path/your_app/wsgi.py
      
      #change the path into your project's path
      WSGIPythonPath your_project_path
      
      #change the path into the path that contains your wsgi.py
      <Directory your_project_path/your_app>
      <Files wsgi.py>
      Order deny,allow
      Allow from all
      </Files>
      </Directory>
      
    3. Run Apache and locate http://your-domain:port/metasearch/ in your browser.

Contact me:

Zeyang Lin [email protected]

metasearch's People

Contributors

linzeyang avatar

Watchers

 avatar  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.