Git Product home page Git Product logo

alaska-fee-agent-assister's Introduction

Alaska Fee Agent Assister

Code repository for Alaska Fee Agent Assister, an application for assisting fee agents in Alaska with the benefits interview process by Code for America.

Getting Set Up

macOS

Install Homebrew.

Install Heroku CLI.

brew install heroku/brew/heroku

Install and start PostgreSQL.

brew install postgresql

brew services start postgresql

Ruby on Rails

This application is built using Ruby on Rails.

Your system will require Ruby to develop on the application.

The required Ruby version is listed in the .ruby-version file.

If you do not have this binary, use this guide to get set up on MacOS.

Configuring the Application

  1. Clone this repo
  2. Ask the team for the RAILS_MASTER_KEY
  3. Add it to a new file config/master.key
  4. Run bin/setup

Day-to-day Development

Local Server

  • Run the server(s): rails s
  • Visit your local server
  • Run tests, Rubocop, bundle audit, and Brakeman: rake

Conventions

  • Secrets - We store all secrets in credentials.yml.enc. Locally you will need a config/master.key file with the master key in it (stored in LastPass). To edit run EDITOR=vi bin/rails credentials:edit
  • Environment config - We store non-sensitive environment configuration in environment variables. In development, environment variables are loaded from .env. When adding an environment, be sure to update the .env file and app.json (used by Heroku for review apps).

Form Navigation

This application is a long questionnaire. You will probably want to work on parts of it without completing the whole application.

After booting the server and filling out the first few questions, go to http://localhost:3000/screens to jump around.

Testing

Running specs

For development purposes, we generally just run rspec.

Spec Helpers

  • Use match_html to test that two HTML strings match, excluding whitespace, order of attributes, etc.:
expect(rendered).to match_html <<-HTML
  <table class="foo bar">
  <tr>
  <td>Hi!</td>
  </tr>
  </table>
HTML

Styleguide/Branding

This application was designed using an Atomic design system.

The styleguide can be viewed at GetCalFresh Styleguide.

Deploying

Timing for Deploys

  • Staging: Deployed automatically on successful builds from master.

Deploying to Staging

CircleCI is currently set up to deploy green builds to staging.

PDF for Alaska Benefits

A fillable PDF for Alaska's benefit programs - GEN 50C - Fillable.pdf

alaska-fee-agent-assister's People

Contributors

hartsick avatar luigi avatar ondrae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.