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.
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.
You can see a running version of the application at https://www.smc-connect.org.
- Ruby version 2.3.3
- Rails version 18.104.22.168
- 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.
Follow the instructions in CUSTOMIZE.md.
Running the tests
To test locally, you can run tests with this simple command:
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
--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),
textmate. More information can be found on the RSpec website.
To see the actual tests, browse through the spec directory.
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 (c) 2013-2014 Code for America. See LICENSE for details.