Git Product home page Git Product logo

sjmc7 / searchlight-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ttripp/searchlight-ui

0.0 1.0 0.0 57 KB

This is the basis of the new OpenStack Searchlight UI. It originally lived in a gerrit patch for Horizon, but was decided for mitaka to go ahead and create a separate plugin. See also: wiki.openstack.org/wiki/Searchlight

License: Apache License 2.0

Shell 0.99% Python 22.66% HTML 8.06% JavaScript 68.16% CSS 0.12%

searchlight-ui's Introduction

searchlight-ui

Horizon panels and libraries for searchlight

The Searchlight project provides indexing and search capabilities across OpenStack resources. Its goal is to achieve high performance and flexible querying combined with near real-time indexing.

Use the following resources to learn more:

Features

  • Please see the searchlight-ui repository

Howto

  1. Package the searchlight_ui by running:

    python setup.py sdist
    

    This will create a python egg in the dist folder, which can be used to install on the horizon machine or within horizon's python virtual environment:

    cd ../horizon ./tools/with_venv.sh pip install ../searchlight-ui/dist/searchlight-ui-0.0.0.tar.gz

  2. Copy _1001_project_search_panel.py in searchlight_ui/enabled directory to openstack_dashboard/local/enabled

    Example (from searchlight-ui):

    cp -rv searchlight_ui/enabled/_1001_project_search_panel.py ../horizon/openstack_dashboard/local/enabled/

  3. (Optional) Copy the policy file into horizon's policy files folder, and add this config POLICY_FILES:

    'searchlight_ui': 'searchlight_ui',
    
  4. Django has a compressor feature that performs many enhancements for the delivery of static files. If the compressor feature is enabled in your environment (COMPRESS_OFFLINE = True), run the following commands:

    $ ./manage.py collectstatic
    $ ./manage.py compress
    
  5. Finally restart your web server to enable searchlight-ui in your Horizon:

    $ sudo service apache2 restart
    

searchlight-ui's People

Contributors

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