Find human services, farmers' markets, and other community organizations in San Mateo County, California
CSS Ruby JavaScript HTML Shell
Pull request Compare This branch is 278 commits ahead, 17 commits behind codeforamerica:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
graphics
lib
public
script
spec
vendor/assets
.bummr-build.sh
.codeclimate.yml
.coveralls.yml
.dockerignore
.eslintrc
.gitignore
.haml-lint.yml
.hound.yml
.reek
.rubocop.yml
.ruby-gemset
.ruby-version
.travis.yml
CONTRIBUTING.md
CUSTOMIZE.md
Dockerfile
Gemfile
Gemfile.lock
INSTALL.md
LICENSE.md
Procfile
README.md
Rakefile
config.ru
docker-compose.yml

README.md

SMC-Connect

Build Status Coverage Status Dependency Status Code Climate

SMC-Connect is a Ruby on Rails app that makes it easy to find human services, farmers' markets, and other community organizations in San Mateo County, California.

The app is powered by the Ohana API platform which was developed by Code for America's 2013 San Mateo County, CA, fellowship team: @monfresh, @spara, and @anselmbradford.

In San Mateo County, there are two apps powered by Ohana: SMC-Connect and the San Mateo County API (that feeds the data to SMC-Connect). The API also comes with a built-in admin interface that allows organization members to update their own data. The updates are reflected in real-time on SMC-Connect.

Demo

You can see a running version of the application at https://www.smc-connect.org.

Stack Overview

  • Ruby version 2.3.3
  • Rails version 4.2.7.1
  • Template Engines: ERB and HAML
  • Testing Frameworks: RSpec, Capybara, Poltergeist

Deploying to Heroku

See the Ohana Web Search 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.

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.