- Notifications
You must be signed in to change notification settings - Fork138
Local Incident Management System - This is used for tracking resources for Local Emergency Management
License
ReadyResponder/ReadyResponder
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The project was inspired bySandi Metz's call for programmers to aid their communities. This project, in particular, looks to lessons learned in response to emergencies that inspired the National ICS program. It has often been found that there are plentiful equipment and personnel, but not the organization to know what was available nor the ability to manage it.
The goal of Ready Responder is to offer volunteer groups a program that allows them to track their resources and personnel, especially during emergencies or multi-day events. This application might be used by volunteer firefighters, auxiliary police, Medical Reserve Corp (MRC), CERT organizations, amateur radio operators (ARES/RACES), church based relief groups, shelter managers or even science-fiction conventions.
- Web-based user interface, available from both desktop and mobile
- Tracks complete data of personnel, including attendance, responsiveness, and training
- Tracks equipment, including serial numbers, sources, grants, and service records
- Contacts members via SMS to alert them
- Produces QR Codes of people to allow easier addition into a cell phone
- Will produce QR code to allow people to sign up for events
- Will contact members via email, SMS and VOIP to alert them
The program is currently in production, getting live feedback.
We have a Slack channel atreadyresponder.slack.com to give help if you need it.
This is a Rails project that is configured to run on Ruby 2, and on a Postgres database.
Things you'll need to install before running ReadyResponder locally are:
- Ruby Programming Language
- The
bundlergem - PostgreSQL (version 9) database
- ImageMagick (a dependency of the rmagick gem, used to process images)
Forruby, you can find a detailed list of options on theofficial Ruby website. The most commonapplications used to manage your ruby version are:
- RVM
- rbenv, with theruby-build plugin
- chruby
The exact version of Ruby that ReadyResponder is using is specified in the.ruby-version file.
After setting up ruby on your system, install thebundler gem withgem install bundler.
Below you will find instructions on installing the remaining dependencies for MacOS and Ubuntu.
Ensure you have theHomebrew package manager. Runbrew update before you install the dependencies. You can also use other packagemanagers, such asMacPorts, but thefollowing instructions assume you're using Homebrew.
Install PostgreSQL
$ brew install postgres
Install ImageMagick
$ brew install imagemagick@6
Install for OSX version 10.15,Catalina, and above.
Runapt-get update before you install the dependencies.
Install PostgreSQL
$ apt-get install postgresql libpq-dev
Install ImageMagick
$ apt-get install libmagickwand-dev
Feel free to ask for help!
We also have a Vagrant + Ansible setup so you can start quickly. SeeVagrant + Ansible
Get the project code locally and set it up:
- Install dependencies (Mac,Ubuntu)
- Fork ReadyResponder.
- Clone the forkedrepository to your development or local machine.
cd ReadyResponderbundle install- Set up the local database
- Ensure the Postgres server is started
$ pg_ctl -D /usr/local/var/postgres start
- Ensure you have a user for the databaseEnter a password and answer the prompts, you will have a user (role)named with the selected privileges.Make sure the newrole can create databases
$ sudo -i -u postgres$ createuser -P --interactive<database-username>$exit
- Copy the example database configuration file
$ cp config/database.example.yml config/database.yml
- Fill in the copied file with your database user information and addan entry with
host: localhost. Edit both thedevelopmentandtestkeys - Create the databases (test and development) and apply the schema defined in
db/schema.rb$ bundleexec rake db:create$ bundleexec rake db:schema:load
- Ensure the Postgres server is started
- Seed the database with some sample data and create an admin for you to use on the local serverYou should note the output of the db:seed, as it will spit out the password at the end.
$ bundleexec rake db:seed
At this point you should be able to run the rails server viabundle exec rails s, the rails console viabundle exec rails c, and the tests viabundle exec rspec spec/.
$ bundleexec rake db:test:prepareNote: The testing framework will run much faster over time if you run it via Spring. When running rake enter
bin/raketo execute via Spring pre-loader.
Seethe wiki!
We have aCode of Conduct to set clear expectations for community participation. We want your participation in ReadyResponder to be safe, fun, and respectful. We've adopted the"Contributor Covenant" model for our code of conduct, which is the same model thatthe Rails project itself uses. (Other projects that use a Code of Conduct of this type includeRSpec,Jenkins, andRubyGems.)
Please read theCode of Conduct. By participating in this project you agree to abide by its terms.
About
Local Incident Management System - This is used for tracking resources for Local Emergency Management
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.