Gala is a platform for the collaborative study of media-rich teaching cases.
Install and Setup
You will need to have the following prerequisites installed locally in order to run Gala:
- Ruby 2.6.6
- Rails v184.108.40.206
- PostgreSQL >= v9.6.17 (Postgres.app is recommended as a one-click install for MacOS)
If you do not yet have Redis installed, follow instructions for your local platform to install Redis and be sure that Redis is up and running locally.
Clone the Gala codebase to your local machine:
git clone firstname.lastname@example.org:galahq/gala.git
Install the required Ruby gems:
Install the required node packages:
Create and seed your development and test databases:
rails db:setup rails db:test:prepare
The full-text case search is powered by a Postgres materialized view so it’s
really fast. The consequence is that changes don’t appear in search results
until the view is refreshed. Set a cron job or use Heroku Scheduler or the
equivalent to run
rake indices:refresh as frequently as makes sense.
To send a weekly report of usage data, run
rake emails:send_weekly_report once