Skip to content

GlobalNamesArchitecture/GNITE

Repository files navigation

Global Names Integrated Taxonomic Editor (GNITE)

GNITE is a an editor for taxonomic trees.

Install

General Requirements

  • Ruby version 2.1.2 or higher
  • MySQL server version 5.1 or higher
  • Web Server for production (Nginx or Apache)

required packages for Ubuntu:

sudo apt-get update
sudo apt-get install mysql-server

You will need UTF-8 encoding and collation for your tables: You would need follwing in your my.cnf as minimum:

character-set-server        = utf8
character_set_filesystem    = utf8
init-connect                = "SET NAMES utf8"

Running Tests

bundle exec rake db:drop:all
bundle exec rake db:create:all
bundle exec rake db:schema:load RAILS_ENV=test
bundle exec rake db:migrate RAILS_ENV=test #if there are new ones
bundle exec rake db:seed RAILS_ENV=test
rake
cucumber

QUEUES & WORKERS

RAILS_ENV=production RAKE_ENV=production QUEUE=gnaclr_importer rake resque:work
RAILS_ENV=production RAKE_ENV=production QUEUE=merge_event rake resque:work
RAILS_ENV=production RAKE_ENV=production QUEUE=gnite_not_destructive rake resque:work
./script/roster_listener

Copyright

Code: David Shorthouse, Thoughtbot, Dmitry Mozzherin, Patric Leary

Copyright 2011-2014 [Marine Biological Laboratory][]. See LICENSE for further details.