Giter VIP home page Giter VIP logo

Comments (7)

regit avatar regit commented on June 7, 2024

It looks like 'revproxy' is already loaded when django try to install the apps. Try to comment the two last lines of scirius/settings.py to check that.

By the way, I don't see how it is possible without edit of settings.py.

from scirius.

drew1kun avatar drew1kun commented on June 7, 2024

That works!!! Thanx!

from scirius.

regit avatar regit commented on June 7, 2024

Hello @Drewshg312 , did you edit the settings.py before that ?

from scirius.

drew1kun avatar drew1kun commented on June 7, 2024

I've edited the local_settings.py. Is it supposed to override settings.py?

from scirius.

regit avatar regit commented on June 7, 2024

Yes, what did you put in here ? Did you just set some variables ?

from scirius.

drew1kun avatar drew1kun commented on June 7, 2024

No my local_settings.py is just a duplicate of settings.py with this changes:

# Elastic search
USE_ELASTICSEARCH = True
#ELASTICSEARCH_ADDRESS = "127.0.0.1:9200"
ELASTICSEARCH_ADDRESS = "localhost:9200"
# You can use a star to avoid timestamping expansion for example 'logstash-*'
ELASTICSEARCH_LOGSTASH_INDEX = "logstash-*"
# use hourly, daily to indicate the logstash index building recurrence
ELASTICSEARCH_LOGSTASH_TIMESTAMPING = "daily"

# Kibana
USE_KIBANA = True
KIBANA_VERSION = 4
KIBANA_INDEX = ".kibana"
# Use django as a reverse proxy for kibana request
# This will allow you to use scirius authentication to control
# access to Kibana
KIBANA_PROXY = True
# Kibana URL
KIBANA_URL = "https://server.kibana"
# Number of dashboards to display
KIBANA_DASHBOARDS_COUNT = 20

and commented two last lines:

#if KIBANA_PROXY:
#    INSTALLED_APPS += ('revproxy',)

from scirius.

regit avatar regit commented on June 7, 2024

OK, now I got it. You are not supposed to have the if KIBANA_PROXY at the end of your local_settings.py. In fact you should just copy the value you are modifying from default one.

from scirius.

Related Issues (20)

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.