Find human services, farmers' markets, and other community organizations in San Mateo County, California
CSS Ruby JavaScript HTML Other
Clone or download
Pull request Compare This branch is 375 commits ahead, 99 commits behind codeforamerica:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
app
bin
config
db
graphics
lib
public
script
spec
vendor/assets
.babelrc
.bummr-build.sh
.codeclimate.yml
.dockerignore
.eslintrc
.gitignore
.haml-lint.yml Merge updates from CfA repo Nov 28, 2017
.hound.yml
.postcssrc.yml
.reek Update Reek config Aug 15, 2016
.rubocop.yml
.ruby-gemset
.ruby-version Update Ruby to 2.5.1 Jul 2, 2018
CONTRIBUTING.md
CUSTOMIZE.md
Dockerfile
Gemfile
Gemfile.lock
INSTALL.md
LICENSE.md
Procfile
README.md
Rakefile
app.json
config.ru Update Rails to version 4.2.1 Mar 29, 2015
docker-compose.yml
package.json
yarn.lock

README.md

#SMC-Connect

CircleCI Dependency Status 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 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 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.