A mobile-friendly website for finding human and social services in your community
CSS Ruby JavaScript HTML Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci Replace Travis/Coveralls with Circle CI/Simplecov Jul 24, 2018
app Fix haml-lint offenses Apr 3, 2018
bin Update webpacker from 3.4.3 to 3.5.3 Jun 30, 2018
config Remove rails_12factor gem Jul 3, 2018
db Update Rubocop config and fix offenses Aug 15, 2016
graphics Fix broken Markdown headings Apr 18, 2017
lib Fixes #514 - adds better jshint gem Dec 27, 2014
public Fixes #440 - updates Rails to 4.1.4 Jul 29, 2014
script Remove rails_12factor gem Jul 3, 2018
spec Replace Travis/Coveralls with Circle CI/Simplecov Jul 24, 2018
vendor/assets Convert from AMD to ES6 Mar 9, 2018
.babelrc Convert from AMD to ES6 Mar 9, 2018
.bummr-build.sh Add bummr gem to automate gem updates Jun 8, 2016
.codeclimate.yml Convert from AMD to ES6 Mar 9, 2018
.dockerignore Add support for Docker (#839) Jun 26, 2016
.eslintrc Replace requirejs-rails with webpacker Mar 5, 2018
.gitignore Replace requirejs-rails with webpacker Mar 5, 2018
.haml-lint.yml Fix Rubocop and haml-lint offenses Jul 10, 2017
.hound.yml Update gems and fix style offenses Jan 30, 2016
.postcssrc.yml Replace requirejs-rails with webpacker Mar 5, 2018
.reek Keep old .reek file for Code Climate Jun 30, 2018
.reek.yml Update reek from 4.8.0 to 5.0.0 Jun 30, 2018
.rubocop.yml Fix Rubocop settings and offenses Jun 30, 2018
.ruby-gemset Update Ruby gemset name Mar 25, 2014
.ruby-version Update Ruby to 2.5.1 Jul 2, 2018
CONTRIBUTING.md Replace jshint with Code Climate's eslint Jun 9, 2016
CUSTOMIZE.md Merge pull request #808 from codeforamerica/782-custom-translations Jul 25, 2015
Dockerfile Update Ruby to 2.5.1 Jul 2, 2018
Gemfile Replace Travis/Coveralls with Circle CI/Simplecov Jul 24, 2018
Gemfile.lock Update rubocop to version 0.58.2 Aug 12, 2018
INSTALL.md Replace requirejs-rails with webpacker Mar 5, 2018
LICENSE.md Updates readme Oct 13, 2014
Procfile Switch to Puma per Heroku's new recommendation. Feb 2, 2015
README.md Replace Travis/Coveralls with Circle CI/Simplecov Jul 24, 2018
Rakefile Fix Rubocop settings and offenses Jun 30, 2018
app.json Remove rails_12factor gem Jul 3, 2018
config.ru Update Rails to version 4.2.1 Mar 29, 2015
docker-compose.yml Add support for Docker (#839) Jun 26, 2016
package.json Update webpacker from 3.5.3 to 3.5.5 Aug 11, 2018
yarn.lock Update webpacker from 3.5.3 to 3.5.5 Aug 11, 2018

README.md

Ohana Web Search

CircleCI Test Coverage Maintainability

Ohana Web Search is the web-based search portion of the Ohana project. It requires connecting to your own instance of Ohana API, which will provide the data to Ohana Web Search.

This project was developed by Code for America's 2013 San Mateo County, CA, fellowship team. Thanks to a grant from the Knight Foundation, @monfresh, @spara, and @anselmbradford will continue to push code in 2014.

Ohana Web Search aims to make it easy to find available services in a community, and to provide as much pertinent information as possible, such as travel directions, hours of operation, other services residents in need might be eligible for, etc. You can see a live example for services in San Mateo County, CA, here: http://smc-connect.org

We gladly welcome contributions. Below you will find instructions for installing the project and contributing.

Demo

You can see a running version of the application at https://ohana-web-search-demo.herokuapp.com/.

Stack Overview

  • Ruby version 2.5.1
  • Rails version 5.1.6
  • Node.js 6.0.0+, but less than 9.0
  • Yarn 0.25.2+
  • Template Engines: ERB and HAML
  • Testing Frameworks: RSpec, Capybara, Poltergeist

Deploying to Heroku

See the Wiki.

Local Installation (for developers)

Follow the instructions in INSTALL.md.

Customization

Follow the instructions in CUSTOMIZE.md.

Running the tests

To test locally, you can run tests with this simple command:

script/test

To configure the way RSpec displays test results, create a file called .rspec in the root directory, and add the following to it:

--color
--format progress

The --color option allows you to see passing tests in green and failing ones in red. Otherwise, by default, you would just see a series of dots for passing tests, and the letter "F" for failing ones.

Parameters for the --format option are: progress (default - shows a series of dots), documentation, html, or textmate. More information can be found on the RSpec website.

To see the actual tests, browse through the spec directory.

Contributing

We'd love to get your help developing this project! Take a look at the Contribution Document to see how you can make a difference.

Copyright

Copyright (c) 2013-2014 Code for America. See LICENSE for details.