This application handles interaction between Shelters, Advocates, Clients, and Safe Haven volunteers.
This is a pretty straightforward Rails application using MySQL for the database.
Your setup may vary, but we recommend using rbenv or RVM to version your ruby environments. If you're on OS X, you can use Homebrew to help make things easier. If you're feeling adventurous, RailsInstaller may get you up and running on Windows. Please be aware that development on Windows will be different, and may require advanced knowledge when problems are encountered.
Checkout the PostgreSQL Installation Guides or you can use the PostgreSQL that comes with your Linux distribution.
Once that's done, be sure to add the safehaven portal user
sudo su - postgres
psql -c 'create user secure_portal createdb login;'
and that the secure_portal user is trusted for local user
sudo su -
/etc/init.d/postgresql stop
echo -e "local\tall\tsecure_portal\ttrust" >> /etc/postgresql/9.5/main/pg_hba.conf
/etc/init.d/postgresql start
git clone git@github.com:safehavennetwork/safehaven_portal.git
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
bundle exec rails s