Giter Site home page Giter Site logo

barrettpitner / districthousing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from civictechdc/districthousing

0.0 2.0 0.0 22.32 MB

District Housing lets caseworkers help clients apply for Section 8 housing by automatically filling out multiple PDF applications using one online form.

Home Page: http://codefordc.github.io/districthousing/

License: MIT License

Ruby 66.68% CSS 4.92% JavaScript 0.27% CoffeeScript 0.88% HTML 25.28% Shell 0.04% Puppet 1.93%

districthousing's Introduction

Build Status

District Housing

District Housing lets caseworkers help clients apply for Section 8 housing by automatically filling out multiple PDF applications using one online form.

This is a Ruby on Rails application: knowledge of Ruby & Rails is recommended to work on the server component, and Codecademy's class is a great way to start.

This application uses the pdf-forms gem and pdftk.

Setup

The application can generate random seed data for testing. To get the application up and running, run these commands:

bundle install
rake db:setup
rails server

This will allow you to create an account, and start filling in applicants.

For testing with sample user data, you can run the following command, which will create a test user account with 30 fake applicants:

rake seed_applicants

The login for the test user is:

Username: [email protected]
Password: password

Code for DC has labeled additional PDFs to work with District Housing. These are not stored directly in the Git repository, but you can obtain them with the following command:

rake pull_pdfs

As a demo, the app can be found at http://districthousing.org/. Don't enter real data here, or rely on your data sticking around. It's likely to be reset and upgraded without warning.

Dependencies

Requires pdftk. On OS X, install homebrew and then run:

brew cask install pdftk

On Debian/Ubuntu:

sudo apt-get install pdftk

Installation with Cloud9

If you do not want to go through the trouble of installing Rails on your machine, you can easily set up the development environment with Cloud9. After forking the districthousing repo, sign up for a free Cloud9 account using your Github credentials.

Your fork of districthousing should appear on the left side of your Cloud9 dashboard under 'Projects on Github.' Select it and click 'Clone to Edit.' Choose the pre-configured Ruby on Rails environment. The districthousing fork will now be listed under 'My Projects.' Once cloned, click 'Start Editing.'

To continue using git, run the following in your workspace terminal:

git remote add districthousing '[email protected]:[github username]/districthousing'

Install pdftk using apt-get and ensure that you are using ruby-2.1.2. You should now be able to get the application up by running:

bundle install
rake db:setup pull_pdfs seed_pdfs seed_applicants
rails s -b $IP -p $PORT

Navigate to http://districthousing-c9-[username].c9.io to see your app.

districthousing's People

Contributors

jrunningen avatar emanuelfeld avatar mlouie avatar lankyfrenchman avatar ouzy avatar shiftyp avatar mikeyburkman avatar jasoncorum avatar mepps avatar mpeteuil avatar sethpuckett avatar stvnrlly avatar uncompiled avatar waynethewizard avatar lizhaney avatar ameensol avatar endash avatar cszimm avatar dfelsent avatar dirkkelly avatar tmcw avatar shariq1989 avatar

Watchers

James Cloos avatar  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.