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.
You can see a running version of the application at https://www.smc-connect.org.
- Ruby version 3.1.4
- Rails version 6.1.7
- Node.js 16.x
- Yarn 1.x
- Template Engines: ERB and HAML
- Testing Frameworks: RSpec, Capybara, Poltergeist
See the Ohana Web Search Wiki.
Follow the instructions in INSTALL.md.
Follow the instructions in CUSTOMIZE.md.
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.
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.