The web design and pages for my personal website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

64 lines
2.3 KiB

  1. --- config-sample.py 2014-07-23 21:24:31.762730111 +0000
  2. +++ config.py 2014-08-27 01:38:34.466730111 +0000
  3. @@ -10,7 +10,7 @@
  4. DEBUG = True
  5. # Unique name of your site, e.g. "kirsle.net"
  6. -SITE_NAME = "example.com"
  7. +SITE_NAME = "kirsle.net"
  8. # Path to your site's HTML root. Whenever Rophako tries to render a template,
  9. # it will check in your site's root for the template first before defaulting to
  10. @@ -18,14 +18,14 @@
  11. # Rophako pages, e.g. for account, blog, photo albums and so on, have templates
  12. # in the default site. You can override those templates by creating files with
  13. # the same paths in your site's HTML folder.
  14. -SITE_ROOT = os.path.join(_basedir, "site", "www")
  15. +SITE_ROOT = "/home/kirsle/git/kirsle.net/www"
  16. # E-mail addresses for site notifications (i.e. new comments).
  17. -NOTIFY_ADDRESS = ["root@localhost"]
  18. +NOTIFY_ADDRESS = ["root@kirsle.net"]
  19. # Set this to true if you want your app to force use of SSL. This will also turn
  20. # on Flask's secure-only session cookies.
  21. -FORCE_SSL = False
  22. +FORCE_SSL = True
  23. # Secret key used for session cookie signing. Make this long and hard to guess.
  24. #
  25. @@ -50,14 +50,14 @@
  26. DB_ROOT = "db"
  27. REDIS_HOST = "localhost"
  28. REDIS_PORT = 6379
  29. -REDIS_DB = 0
  30. +REDIS_DB = 1
  31. REDIS_PREFIX = "rophako:"
  32. # Mail settings
  33. MAIL_METHOD = "smtp" # or "sendmail", not yet implemented
  34. MAIL_SERVER = "localhost"
  35. MAIL_PORT = 25
  36. -MAIL_SENDER = "Rophako CMS <no-reply@rophako.kirsle.net>"
  37. +MAIL_SENDER = "Kirsle.net <no-reply@kirsle.net>"
  38. # Emoticon theme used for blog posts and comments. Should exist at the URL
  39. # "/static/smileys" from your document root, and have a file named
  40. @@ -97,7 +97,7 @@
  41. # The path to where uploaded photos will be stored.
  42. # The PRIVATE path is from the perspective of the server file system.
  43. # The PUBLIC path is from the perspective of the web browser via HTTP.
  44. -PHOTO_ROOT_PRIVATE = os.path.join(_basedir, "site", "www", "static", "photos")
  45. +PHOTO_ROOT_PRIVATE = "/home/kirsle/www/static/photos"
  46. PHOTO_ROOT_PUBLIC = "/static/photos"
  47. PHOTO_DEFAULT_ALBUM = "My Photos" # Default/fallback album name.
  48. @@ -135,3 +135,6 @@
  49. load_plugin("rophako.modules.comment")
  50. load_plugin("rophako.modules.emoticons")
  51. load_plugin("rophako.modules.contact")
  52. \ No newline at end of file
  53. +
  54. +# Kirsle legacy endpoints
  55. +load_plugin("kirsle_legacy", as_blueprint=False)