_settings_vars.py 751 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ########
  2. #
  3. # Django
  4. #
  5. ########
  6. DEBUG = True
  7. SECRET_KEY = 'django-insecure-$eodx2ilnb*djkahfguiwegbwelgbnajl*u$qkt7j-b)7t1iq'
  8. CSRF_TRUSTED_ORIGINS = []
  9. ALLOWED_HOSTS = ["127.0.0.1"]
  10. INTERNAL_IPS = ["127.0.0.1"]
  11. NAME_SYSTEM = "ShariX"
  12. API_URL = 'http://127.0.0.1:8000'
  13. ########
  14. #
  15. # Database
  16. #
  17. ########
  18. DB_NAME = None
  19. DB_USER = None
  20. DB_PASSWORD = None
  21. DB_HOST = None
  22. DB_PORT = 5432
  23. ########
  24. #
  25. # Gunicorn
  26. #
  27. ########
  28. BIND = "127.0.0.1:8000"
  29. ########
  30. #
  31. # ejabber
  32. #
  33. ########
  34. EJ_PROTOCOL = "http"
  35. EJ_IP = "10.0.20.9"
  36. EJ_PORT = "5280"
  37. EJ_URL = EJ_PROTOCOL + "://" + EJ_IP + ":" + EJ_PORT + "/" + "api/"
  38. EJ_SERVICE = "chat.ej.sharix-app.org"
  39. EJ_HOST = "ej.sharix-app.org"
  40. # Service name that is used in generating ejabber rooms
  41. WEBSERVICE_NAME = "open"