Skip to content

codeforamerica/oakland_answers

Repository files navigation

Build Status

Oakland Answers

Oakland Answers is based on Honolulu Answers: a new approach to make it easier for people to navigate city information and services quickly.

Installation

If you are using OS X Mountain Lion and above, please follow this guide

Local Setup

$ git clone git@github.com:codeforamerica/oakland_answers.git
$ cd oakland_answers
$ rake db:create:all
$ rake db:migrate
$ rake db:seed

Usage

$ foreman start

visit http://localhost:5000 in your web browser

Deploying to Heroku

Create a new application in your heroku dashboard

In your project directory:

$ git push heroku master
$ heroku run rake db:migrate
$ heroku config:set OFFICIAL_CITY_NAME=<your city name>
$ heroku config:set OFFICIAL_SITE_TITLE=<your site title>

For reference, see: https://devcenter.heroku.com/articles/getting-started-with-rails4#deploy-your-application-to-heroku

Testing

rake spec command will run the current tests

Submitting an Issue

We use the [GitHub issue tracker][issues] 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. Commit and push your changes.
  6. Submit a pull request.

License

Copyright (c) 2012, Code for America. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Code for America nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Code for America Tracker

About

Code For America's version of Oakland Answers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published