Skip to content

Localizing the adopt a platform to your community.

aplannersguide edited this page Jan 18, 2013 · 1 revision

So you have forked the adopt-a-hydrant project. Now what? One of the first things you will need to do is to update the code to reference your local community. Otherwise you will have many a confused users wondering why Boston or Honolulu is mentioned for your adopt-a app. A side note, adopt-a-hydrant uses "things" when referring to what is adopted.

This is a brief guide to help you localize the code to your community.

[Update Terms of Service] (https://github.com/codeforamerica/adopt-a-hydrant/blob/master/app/views/sidebar/_tos.html.haml):

  • Replace fire hydrant with your "Thing" (use find and replace)
  • Change AAH to AA"First Letter of Your Thing", so for adopt-a-drain it would be AAD.
  • Replace Boston with your City (Line 13 & 233)
  • Replace Commonwealth of Massachusetts with your State (Line 233)
  • Replace hydrant specific language with your "things" language (line 13-32), for adopt a drain this would include removing references to shoveling.
  • Update last date of update (last line)

[Update Mailer] (https://github.com/codeforamerica/adopt-a-hydrant/tree/master/app/views/thing_mailer):

  • Replace hydrant with your "Thing"
  • Convert message text so that it works with your "Thing"
Clone this wiki locally