Global Names Interface for Taxonomic Editing
Ruby JavaScript CSS Gherkin HTML Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
autotest
config
cookbooks/main
db
deploy
doc
features
lib
public
script
spec
tmp
vendor
.gitignore
.rspec
.ruby-gemset
.ruby-version
.session.vim
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
notes.txt

README.md

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.