GithubHelp home page GithubHelp logo

fisherwebdev / straymapper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeforamerica/straymapper

0.0 1.0 0.0 798 KB

A web tool to help reunite more stray animals with their human companions

Home Page: straymapper.com

straymapper's Introduction

Stray Pet Mapper Build Status

Reunite more stray animals with their human companions

Screenshot

Stray Pet Mapper

Demo

You can see a running version of the application at http://straymapper.com/.

Development Environment

Ubuntu Environment

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/

#SQLite Dependencies
$sudo apt-get install sqlite3 libsqlite3-dev

#Spatialite Dependencies
$sudo apt-get install libproj-dev proj-bin libgeos-dev libgdal-dev libspatialite3 libspatialite-dev spatialite-bin

Mac Environment

Instructions for creating a development environment on Mac. This requires that Homebrew is installed.

$ brew install sqlite3
$ brew isntall geos
$ brew install proj
$ brew install gdal
$ brew install libspatialite

Note: Without Homebrew

Install the correct libspatialite library from Spatialite for your Mac.

Installation

git clone git://github.com/codeforamerica/straymapper.git
cd straymapper
pip install -r requirements.txt
touch straymapperdb
spatialite straymapperdb "SELECT InitSpatialMetaData();"
./manage.py syncdb

Usage

./manage.py runserver

Seed Data

./manage.py runscript animals.scripts.populate

Contributing

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
  • financially

Submitting an Issue

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.

Submitting a Pull Request

  1. Fork the project.
  2. Create a topic branch.
  3. Implement your feature or bug fix.
  4. Add tests for your feature or bug fix.
  5. Run ./manage.py test. If your changes are not 100% covered, go back to step 4.
  6. Commit and push your changes.
  7. 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

Copyright (c) 2012 Code for America. See LICENSE for details.

straymapper's People

Contributors

tinio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.