Reunite more stray animals with their human companions
You can see a running version of the application at http://stray.citypetz.com/.
Instructions for creating a development environment for Ubuntu Linux. This has been tested using Ubuntu 12.04.
#Initial libraries needed $ sudo apt-get install build-essential git-core python-software-properties python-dev python-pip python-virtualenv #PIL Dependencies $ sudo apt-get install build-dep python-imaging Also symlink associated libraries: $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/ $ sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/ # Install PostgreSQL/Postgis $ sudo apt-get install postgresql-9.1 $ sudo apt-get install postgresql-9.1-postgis
This project uses PostgreSQL/Postgis and the best way to get this setup on the mac is by downloading Postgres.app
git clone git://github.com/codeforamerica/straymapper.git cd straymapper pip install -r requirements.txt ./manage.py syncdb
./manage.py loaddata animals/fixtures/animals_testdata.json
In the spirit of free software, everyone is encouraged to help improve this project.
Here are some ways you can contribute:
- by using alpha, beta, and prerelease versions
- by reporting bugs
- by suggesting new features
- by translating to a new language
- by writing or editing documentation
- by writing specifications
- 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, including your gem version, Ruby version, and operating system. Ideally, a bug report should include a pull request with failing specs.
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- Add tests for your feature or bug fix.
./manage.py test. If your changes are not 100% covered, go back to step 4.
- Commit and push your changes.
- Submit a pull request. Please do not include changes to the gemspec or version file. (If you want to create your own version for some reason, please do so in a separate commit.)
Copyright (c) 2012 Code for America. See LICENSE for details.