Homestead is a web-application for managing on-campus student housing.
- Install phpwebsite using postgresql
- Clone this repo into the
phpwebsite/modinto anhmsdirectory:git clone git@github.com:AppStateESS/homestead.git hms - Install the HMS module from the phpwebsite control panel
- Copy
mod/hms/inc/hms_defines.phpandmod/hms/inc/SOAPDataOverride.phptophpwebsite/inc/ - In the
phpwebsite/inc/hms_defines.phpfile you just copied, change the following values totrue:HMS_DEBUG(causes uncaught exceptions to be echoed to the browser, instead of caught, logged, and emailed)SOAP_INFO_TEST_FLAG(forces use of hard-coded student info inTestSOAP.php)EMAIL_TEST_FLAG(causes emails to be logged tophpwebsite/log/email.log)
- Install Composer
- Install dependencies with Composer -- from inside the
hmsdirectory:./composer.phar install - Install Node.js (includes npm) (Something like
sudo yum install npmshould work)BowerUse npm to install Bower:sudo npm install -g bowerUse Bower to install dependencies -- from inside thehmsdirectory:bower install- Bower is deprecated. Use Yarn instead.
- Setup the Postgresql Fuzzy String Matching Extensions:
sudo yum install postgresql-contrib- From the psql command line on the Homestead database:
create extension FUZZYSTRMATCH;
