Statler is a server app for storing and retrieving rich annotations for video, created for the Media Ecology Project. It is a companion to Waldorf, which serves as the frontend.
- Ruby 2.3.1 (and Bundler gem)
- Ubuntu 16.04 LTS
Unpack this repo somewhere, cd into it, and then run the following:
bundle install
bash ./server.sh setup
The setup command will ask you to edit /dev.properties
. The file looks like this:
app.server.address=YOUR_ADDRESS_HERE
Replace YOUR_ADDRESS_HERE
with the public IP or DNS of the server. Leave off the http://
and port.
After this, you should be ready to go.
To install on a brand new Amazon EC2 Ubuntu 16.04 LTS instance, run the following in the terminal:
sudo apt-get update
# Install RVM
\curl -sSL https://get.rvm.io | bash
source /home/ubuntu/.rvm/scripts/rvm
# Install dependencies
rvm install 2.3.1
rvm --default use 2.3.1
gem install bundler
sudo apt-get install build-essential g++
# Set up server dependencies
cd /Statler
bundle install
# Do first-time setup
chmod +x ./server.sh
./server.sh setup
A file called dev.properties
will be created in the Statler folder. Put your server's address in the field marked YOUR_ADDRESS_HERE
(this address is the one labelled "Public DNS (IPv4)" in your EC2 console).
Finally, start the server:
# Start the server in the background (optional)
./server.sh start
The server should be up and running at this point.
To start the server, run
bash ./server.sh start
To stop it, use bash ./server.sh stop
.
The output from the latest session will be stored in /server_log.txt
.
See API.md for information.
- Kendra Bird - VEMILab
- Brenden Peters - VEMILab
- Jonathan Cole - VEMILab - joncole.me
This project is licensed under the MIT License. Please see the LICENSE.md file for details.