Skip to content

smcgov/SMC-Connect

 
 

Repository files navigation

SMC-Connect

CircleCI Maintainability Test Coverage View performance data on Skylight

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 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

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.

About

Find human services, farmers' markets, and other community organizations in San Mateo County, California

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 44.2%
  • Ruby 26.6%
  • JavaScript 17.0%
  • Haml 10.1%
  • HTML 1.4%
  • Shell 0.5%
  • Other 0.2%