Advertisement
Guest User

Untitled

a guest
Jul 8th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.67 KB | None | 0 0
  1. # general.yml-example:
  2. # This file contains example values for the "general.yml" config file. It
  3. # contains various configuration parameters, in YAML syntax.
  4. #
  5. # For more information about this file, and general documentation on setting up
  6. # the FixMyStreet platform, please see http://fixmystreet.org/
  7. #
  8. # Specific details about this file can be found at
  9. # http://fixmystreet.org/customising/config/
  10. #
  11. # To start, you can copy this file to one called "general.yml" in the same
  12. # directory. Or have multiple config files and use a symlink to change between
  13. # them. Using the install script or AMI will have created a general.yml file
  14. # for you.
  15.  
  16. # PostgreSQL database details for FixMyStreet
  17. FMS_DB_HOST: 'localhost'
  18. FMS_DB_PORT: '5432'
  19. FMS_DB_NAME: 'fms'
  20. FMS_DB_USER: 'fms'
  21. FMS_DB_PASS: 'mypass'
  22. # The base URL of the install.
  23. BASE_URL: 'http://localhost:3000/'
  24. # Use the below if you're using the Catalyst development server
  25. # BASE_URL: 'http://localhost:3000'
  26. SECURE_PROXY_SSL_HEADER: ''
  27. # If you're behind a proxy, set this to a two-element list containing the
  28. # trusted HTTP header and the required value. For example:
  29. # SECURE_PROXY_SSL_HEADER: [ 'X-Forwarded-Proto', 'https' ]
  30.  
  31. # Email domain used for emails, and contact name/email for admin use.
  32. EMAIL_DOMAIN: 'example.org'
  33. CONTACT_EMAIL: 'nicoaliotta@gmail.com'
  34. CONTACT_NAME: 'Domenico Aliotta'
  35. # Address used for emails you don't expect a reply to (e.g. confirmation
  36. # emails); can be same as CONTACT_EMAIL above, of course, if you don't have a
  37. # special address.
  38. DO_NOT_REPLY_EMAIL: 'do-not-reply@example.org'
  39.  
  40. # Whether this is a development site or not. It will mean e.g. templates/
  41. # CSS modified times aren't cached
  42. STAGING_SITE: 1
  43. # Normally, a staging site will route all reports to the reporter on a
  44. # development site (when STAGING_SITE is 1), to guard against sending fake
  45. # reports to live places. Set this to 1 if you want a dev site to route
  46. # reports as normal.
  47. SEND_REPORTS_ON_STAGING: 0
  48.  
  49. # What to use as front page/alert example places placeholder
  50. # Defaults to High Street, Main Street
  51. EXAMPLE_PLACES: [ 'High Street', 'Main Street' ]
  52.  
  53. # An array of languages for the site, in the following format:
  54. # <language code>,<pretty name>,<locale>
  55. LANGUAGES:
  56. - 'en-gb,English,en_GB'
  57. - 'it,Italian,it_IT'
  58.  
  59. # If you're running an installation that is being used in a different time zone
  60. # from the server, you can set the time zone here (standard time zone string)
  61. TIME_ZONE: ""
  62.  
  63. # File locations for uploaded photos and cached geocoding results.
  64. UPLOAD_DIR: '../upload/'
  65. GEO_CACHE: '../cache/'
  66.  
  67. # Location of MapIt, to map points to administrative areas, and what types of
  68. # area from it you want to use. If left blank, a default area will be used
  69. # everywhere (a URL needs to be given for non-web things, like sending of
  70. # reports, to function).
  71. # If using the Catalyst development server, set to
  72. #
  73. # MAPIT_TYPES: [ 'ZZZ' ]
  74. # In the UK, you probably want, to cover all councils:
  75. # MAPIT_URL: 'http://mapit.mysociety.org/'
  76. # MAPIT_TYPES: [ 'DIS', 'LBO', 'MTD', 'UTA', 'CTY', 'COI', 'LGD' ]
  77. # But perhaps MAPIT_TYPES: [ 'WMC' ] if you want to report on a per-constituency basis?
  78. # If our global MapIt (using OpenStreetMap data) contains boundaries you can use:
  79. # MAPIT_URL: 'http://global.mapit.mysociety.org/'
  80. # And then specify whichever type code have the boundaries you want:
  81. # MAPIT_TYPES: [ 'O06' ]
  82. MAPIT_URL: 'http://localhost:3000/fakemapit/'
  83. #MAPIT_TYPES: [ 'ZZZ' ]
  84.  
  85. # If you are using global MapIt, you might want to restrict FixMyStreet usage
  86. # to only one or more areas, rather than all O04, for example. Provide MapIt
  87. # IDs here in a list that FixMyStreet should recognise, along with the MapIt
  88. # generation those IDs are in.
  89. # MAPIT_ID_WHITELIST: [ 240838, 246176, 246733 ]
  90. # MAPIT_GENERATION: 2
  91. MAPIT_ID_WHITELIST: []
  92. MAPIT_GENERATION: 0
  93.  
  94. # If your MapIt has the concept of council wards (subareas of councils, where
  95. # people can sign up for alerts, but not report things), then you can give the
  96. # MapIt type codes for them here.
  97. # You can probably leave this blank, but in the UK we use something like:
  98. # MAPIT_TYPES_CHILDREN: [ 'DIW', 'LBW', 'MTW', 'UTE', 'UTW', 'CED', 'COP', 'LGW' ]
  99. MAPIT_TYPES_CHILDREN: ''
  100.  
  101. # Which service to use to look up results from e.g. front page searches.
  102. # Possible choices are Google, Bing, or OSM (blank will use OSM by default).
  103. GEOCODER: ''
  104.  
  105. # If you wish to use Google Maps or Bing Maps Geocoding, get and put the
  106. # relevant key here.
  107. GOOGLE_MAPS_API_KEY: ''
  108. BING_MAPS_API_KEY: ''
  109.  
  110. # This provdes parameters that are included in geocoding requests, to hopefully
  111. # return more useful results. The options vary depending which geocoder you use,
  112. # or you can specify all for if you change geocoder. For the default OSM, you can use:
  113. # GEOCODING_DISAMBIGUATION:
  114. # bounds: [ <min lat>, <min lon>, <max lat>, <max lon> ]
  115. # country: <country code to restrict results to>
  116. # town: <string added to geocoding requests if not already there>
  117. #
  118. # If using Bing, you can use town and bounds, plus any of:
  119. # centre: "<lat>,<lon>"
  120. # bing_culture: <culture code, see http://msdn.microsoft.com/en-us/library/hh441729.aspx>
  121. # bing_country: <country name, only accept results that match this>
  122. #
  123. # If using Google, you can use bounds, plus:
  124. # google_country: <.ccTLD to restrict results to>
  125. # lang: <language for results>
  126. #
  127. GEOCODING_DISAMBIGUATION: ''
  128.  
  129. # The type of map you want to use. If left blank, the default is OpenStreetMap.
  130. # Other options are currently pretty UK specific, including "FMS" for UK
  131. # FixMyStreet.
  132. MAP_TYPE: 'OSM'
  133.  
  134. # FixMyStreet uses a templating cobrand system to provide different looks for
  135. # different installations. In the common case, if your templates are in the
  136. # templates/web/moon directory and CSS in web/cobrands/moon, you just specify:
  137. # ALLOWED_COBRANDS:
  138. # - moon
  139. # If you wish to use multiple cobrands, specify them in a list, optionally with
  140. # hostname-matching regular expressions if the name of the cobrand is not
  141. # enough. For example:
  142. # ALLOWED_COBRANDS:
  143. # - moon
  144. # - venus
  145. # Any hostname with 'moon' in it will use the moon cobrand, any with 'venus'
  146. # the venus cobrand (any other the Default cobrand). Whereas:
  147. # ALLOWED_COBRANDS:
  148. # - moon: 'orbital'
  149. # - venus
  150. # Any hostname with 'orbital' in it will use the moon cobrand.
  151. # This also allows development servers to map to different cobrands if needed,
  152. # using DNS subdomains for example.
  153. ALLOWED_COBRANDS:
  154. - cobrand1
  155. - cobrand2: 'hostname_substring2'
  156. - cobrand3
  157.  
  158. # This is used in e.g. "offensive report" emails to provide a link directly to
  159. # the admin interface. Defaults to BASE_URL with "/admin" on the end.
  160. ADMIN_BASE_URL: ''
  161.  
  162. # How many items are returned in the GeoRSS feeds by default
  163. RSS_LIMIT: '20'
  164. # How many reports to show per page on the All Reports pages
  165. ALL_REPORTS_PER_PAGE: 100
  166.  
  167. # Social networking
  168. FACEBOOK_APP_ID: ''
  169. FACEBOOK_APP_SECRET: ''
  170. TWITTER_KEY: ''
  171. TWITTER_SECRET: ''
  172.  
  173. # If you wish to send email through a SMTP server elsewhere, change these
  174. # variables. SMTP_TYPE should be one of '', 'ssl' or 'tls'.
  175. SMTP_SMARTHOST: 'localhost'
  176. SMTP_TYPE: ''
  177. SMTP_PORT: ''
  178. SMTP_USERNAME: ''
  179. SMTP_PASSWORD: ''
  180.  
  181. # Gaze is a world-wide service for population density lookups. You can leave
  182. # this as is.
  183. GAZE_URL: 'https://gaze.mysociety.org/gaze'
  184.  
  185. # Should problem reports link to the council summary pages?
  186. AREA_LINKS_FROM_PROBLEMS: '0'
  187.  
  188. # used to override the STAGING SERVER safety mechanism in send-reports
  189. TESTING_COUNCILS: ''
  190.  
  191. # if you're using Message Manager, include the URL here (see https://github.com/mysociety/message-manager/)
  192. MESSAGE_MANAGER_URL: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement