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 MySQL Installation Guides for getting MySQL up and running on your machine.
Once that's done, be sure to add the safehaven user
mysql --user-root mysql
mysql> CREATE USER 'safehaven'@'localhost';
mysql> GRANT ALL PRIVELGES ON *.* TO 'safehaven'@'localhost';
git clone [email protected]: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