#LGBTrights.me ####A web app to report LBGT rights based on the user's location.
####NOTE: The source is now hosted on Code for America's CfABrigadePhiladelphia Github account.
LGBTrights was built in April 2012 during Philadelphia Barcamp News Innovation's Hackathon at Temple University.
The project won second place.
In the spirit of free software, everyone is encouraged to help improve this project.
Here are some ways you can contribute:
- by collecting/adding data! (See data.json for current formatting)
- by reporting bugs
- by suggesting new features
- by writing or editing documentation
- by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
- by refactoring code
- by closing issues
- by reviewing patches
We use the GitHub issue tracker to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a Gist that includes a stack trace and any details that may be necessary to reproduce the bug.
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- { Add tests for your feature or bug fix } (someday).
- Commit and push your changes.
- Submit a pull request.
- Node.js
- Node Package Manager (to install dependencies)
- Redis
# Run Redis server
$ redis-server
# Clone the repo
$ git clone git://github.com/mdb/lgbt_rights.git
$ cd lgbt_rights
# install dependcies
$ npm install
# run the express.js server using node
$ node app.js
To load the locality data do the following:
curl -XPOST -d @public/javascripts/data/data.json -H "Content-Type: application/json" 127.0.0.1:3000/load
For state data:
curl -XPOST -d @public/javascripts/data/states.json -H "Content-Type: application/json" 127.0.0.1:3000/load