settings.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # The base URL where this server is publicly accessible.
  2. # This is used for announcing actors' endpoints to remote servers.
  3. # Example: https://federation.yourwebsite.org
  4. mcfi_url = 'http://localhost:8080'
  5. DEBUG = True
  6. # Database file path. Used by this instance.
  7. # You should put it in some private space.
  8. database_path = './mcfi.sqlite'
  9. log_path = './log'
  10. gitosis_path = '/var/lib/gitosis' #fedora-specific
  11. client_id = '95oj3g3c2wcyjaj7gbwzyvwc6xblmull' # for sharing with clients for OAuth
  12. client_secret ='Qq7jprMvMZBSNJZ8pULAfaHPJkHsRE7H'
  13. # Forges/Accounts registered here
  14. forge = {
  15. # 'example': {
  16. # # When a new message is received, your forge will be notified to this URL.
  17. # # Can be set to "None" for disabling notifications.
  18. # # Example: https://yourwebsite.org/federation-notification/
  19. # 'callback': None, # 'http://localhost:9000/',
  20. #
  21. # # Secret token to authenticate requests coming from your forge, in contrast
  22. # # to requests coming from any other remote instance
  23. # 'authorization_token': 'SECRET'
  24. # },
  25. 'billspace': {
  26. 'callback': None,
  27. 'authorization_token': 'SECRET'
  28. },
  29. 'zplus': {
  30. 'callback': None,
  31. 'authorization_token': 'DIFFERENT-SECRET'
  32. }
  33. }