Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 3.32 KB

README.md

File metadata and controls

70 lines (57 loc) · 3.32 KB

Annotation Studio

An annotation platform designed for teaching and learning in the humanities, and with aspirations to more general use.

Works with: MIT Annotation Data Store

There are two servers required to run this application. This one, and the MIT Annotation Data Store. You MUST get the Annotation server running to be able to create or view annotations.

General Installation

Set up Rails (if you haven't yet, try: Thoughtbot's Laptop repo)

Do these first, regardless if you are installing locally or on Heroku:

  • git clone [email protected]:hyperstudio/Annotation-Studio.git annotation-studio
  • cd annotation-studio
  • bundle install
  • Copy config/application.sample.yml to config/application.yml Do not check this into git
  • Update config/application.yml with your configuration preferences: See file for in-line comments
  • Update the API_URL value in application.yml to point to the full URI of your running instance of MIT-Annotation-Data-Store
  • Other required fields in application.yml are: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, EMAIL_DOMAIN

Localhost installation

These are rough instructions on how to get Annotation Studio working on your local development machine or server

  • Install and setup PostgreSQL-server (see Laptop repo above)
  • Create a PostgreSQL database
  • Copy config/database.sample.yml to config/database.yml Do not check this into git
  • Add PostgreSQL connection URI into database.yml
  • rake db:migrate
  • rake db:seed
  • rails s

Installation on Heroku

If you would like to run the application on Heroku (recommended), do the following

  • Create a Heroku app heroku apps:create $APPNAME
  • Add the Heroku PostgreSQL add-on heroku addons:add heroku-postgresql
  • Use Figaro to load your application.yml into environment variables and communicate them to Heroku
    • rake figaro:heroku[$APPNAME] -heroku run rake db:migrate -heroku run rake db:seed

User Support and Developer forum

http://support.annotationstudio.org

Thanks

Thanks to:

Contributors

Lab

Developers

License

GPL2: http://www.gnu.org/licenses/gpl-2.0.html