GithubHelp home page GithubHelp logo

bhanditz / seabase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eol/seabase

0.0 2.0 0.0 26.19 MB

Transcriptomic repository for multiple species

License: MIT License

Dockerfile 0.46% Ruby 25.36% Shell 0.66% HTML 67.90% Perl 1.32% TeX 0.38% Java 2.05% CSS 1.89%

seabase's Introduction

SeaBase

SeaBase is a tool for searching, analysing and sharing gene expression data of marine organisms.

Continuous Integration Status Coverage Status CodePolice Dependency Status

Install

General requirements:

  • Ruby version 2.3
  • MySQL server version 5.7
  • Web Server for production (Nginx, or Apache)

required packatges on Ubuntu:

sudo apt-get update
sudo apt-get install mysql-server csh libqt4-dev

Running in production with docker-compose

Get source code and switch to production branch

git clone https://github.com/GlobalNamesArchitecture/gnrd.git
cd gnrd
git checkout production

Create directories for database and configuration files

sudo mkdir -p /opt/seabase/data/mysql
sudo chown 999:999 -R /opt/seabase/data/mysql
sudo cp ./config/seabase-dev.env ./config/seabase-production.env

Modify seabase-production.env to suit your needs. Run compose in daemon mode from the project's root directory

nohup docker-compose up -d

Running Tests

Javascript tests use capybara-webkit, which requires installation of QT Webkit library, you can find installations instruction on capybara-webkit wiki

bundle exec rake db:migrate SEABASE_ENV=test
bundle exec rake db:seed SEABASE_ENV=test
bundle exec rake

Also look at .travis.yml file for more information

Running Tests With Docker Compose

Docker and Docker Compose need to be installed on the host machine

sudo rm -rf .sass-cache
docker-compose build
docker-compose up -d
docker-compose run app db:reset
docker-compose run app db:seed SEABASE_ENV=test
docker exec -it seabase_app_1 rake

For some reason docker-compose run app rake does not work for webkit-based tests.

Copyright

Code: Nathan Wilson,Dmitry Mozzherin

Copyright (c) 2014 Marine Biological Laboratory. See LICENSE for further details.

seabase's People

Contributors

dimus avatar mo-nathan avatar nwilson-eol avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.