GithubHelp home page GithubHelp logo

abbycabs / website Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 13.0 177.63 MB

The WormBase web application and external model

Home Page: http://abby.wormbase.org/

Perl 30.73% Shell 0.53% CSS 7.38% JavaScript 57.89% PHP 2.56% ActionScript 0.52% C++ 0.35% C 0.01% Ruby 0.02%

website's Introduction

WormBase Website Repository

This repository contains the WormBase Web application.

Installation

Execute the following commands in a BASH terminal:

git clone git://github.com/WormBase/website.git wormbase
cd wormbase
git submodule init
git submodule update
export approot=`pwd`
perl Makefile.PL
make installdeps

If you did not start off in /usr/local, then you can either change the preset paths in the application's configuration files, or alternatively, carry out these two steps:

sudo -E su
cd /usr/local
ln -s $approot

Dependencies

Most dependencies will be installed with make installdeps, but perl Makefile.PL itself is depending on some prerequisites:

  1. a development environment: Perl, make, gcc & co.
  2. sudo cpan Module::Install

On Mac OS X, Perl comes preinstalled. The C development tools are installed from within Xcode, which is free, and then selecting from the menu/dialogs: Xcode -> Preferences... -> Downloads -> Components -> "Command Line Tools" -> "Install".

Running the application

To run the app using the built-in Catalyst server:

script/wormbase_server.pl -p 8000

Running the application via Starman

starman --port 8000 --workers 10 wormbase.psgi

Unit Testing

We provide two sets of unit tests for the REST API and WormBase Perl API respectively. The tests are based on Test::More, they run on a fully populated WormBase database backend, they autonomously start and stop a Catalyst web server (random port between 28,000 and 31,999).

Running REST API tests:

perl t/rest.t

Running WormBase Perl API tests:

API_TESTS=1 perl t/api.t

Running WormBase Perl API tests for just the gene class:

API_TESTS=gene perl t/api.t

Comparative Testing

For testing GBrowse installations, we provide a test implementation that compares gbrowse_img images to a reference set.

Running comparative GBrowse tests:

perl t/gbrowse.t --base http://dev.wormbase.org:4466/cgi-bin/gb2/gbrowse_img

Creating a reference image set that is used for the comparative tests:

perl t/gbrowse.t --base http://dev.wormbase.org:4466/cgi-bin/gb2/gbrowse_img --reference

A summary log and a full disclosure of broken URLs is written to the logfile logs/gbrowse_test.log.

Contributing

Our development workflow can be found here:

http://wiki.wormbase.org/index.php/Development_workflow_-_webdev

Todd Harris ([email protected])

website's People

Contributors

abbycabs avatar azurebrd avatar ceciliawbperson1 avatar draciti avatar epaule avatar indiedotkim avatar kenanhabib avatar khowe avatar kyook avatar leto avatar maherkassim avatar norie avatar scottcain avatar sibyl229 avatar xiaoqi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: Species (/species/all#23-1-5)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: testttt Reported by: () (obscured...

testttt

Reported by: () (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: a Reported by: () (obscured for p...

a

Reported by: () (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1522.0 Safari/537.36

: testing Reported by: Abig*********...

testing

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: GBG_brenneri_K10D3.3 (cds) (/species/c_brenneri/cds/GBG_brenneri_K10D3.3#04--10)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: a Reported by: anonymous error rep...

a

Reported by: anonymous error report
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1522.0 Safari/537.36

-: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1607.0 Safari/537.36

: testttt Reported by: Abig*********...

testttt

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: issue (/rest/feed/issue)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1607.0 Safari/537.36

Hi, This is a test for the github issues. TEST T...

Hi,


This is a test for the github issues. TEST TEST TEST.

Reported by: Abby (abig**********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

: Expected URL: http://dev.wo...

    Expected URL: http://dev.wormbase.org:9002/tools/schema/run<br /><br />        Server Error: 500<br /><br />        Error Message:<br /> Caught exception in WormBase::Web::Controller::Tools->tools "Can't call method "class" without a package or object reference at /usr/local/wormbase/website/acabunoc/script/../lib/WormBase/API/Service/tree.pm line 67." <br />What were you doing?: <br />&nbsp;&nbsp;     

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: run (/tools/schema/run)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

-: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: GBG_brenneri_K10D3.3 (/species/c_brenneri/cds/GBG_brenneri_K10D3.3)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

-: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: (/species/c_elegans/cds/RNASEQ_early_embryo_g9n11_x27_II_m)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

test Reported by: Abby (abig*********************...

test

Reported by: Abby (abig**********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

: test Reported by: () (obscured fo...

test

Reported by: () (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1521.0 Safari/537.36

: a Reported by: () (obscured for p...

a

Reported by: () (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1522.0 Safari/537.36

: Expected URL: http://dev.worm...

  Expected URL: http://dev.wormbase.org:9002/tools/genome/gbrowse/c_elegans/?name=IV:13259364..13273171<br /><br />      Server Error: 500<br /><br />      Error Message:<br /> Caught exception in WormBase::Web::Controller::Tools->tools "Can't call method "gbrowse" on an undefined value at /usr/local/wormbase/website/acabunoc/script/../lib/WormBase/Web/Controller/Tools.pm line 86."<br />Couldn't render template "file error - tools/genome/gbrowse.tt2: not found" <br />What were you doing?: <br />&nbsp;&nbsp;   test

Reported by: anon****************** (abig**********************) (obscured for privacy)
Submitted From: tools/genome/gbrowse/c_elegans/ (/tools/genome/gbrowse/c_elegans/)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

test Reported by: Abby (abig*********************...

test

Reported by: Abby (abig**********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

-: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: WormBase::Web::Model::Schema::Page=HASH(0xba256c0) (/species/c_brenneri/cds/GBG_brenneri_K10D3.3)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: Expected URL: http://dev.wo...

    Expected URL: http://dev.wormbase.org:9002/tools/schema/run<br /><br />        Server Error: 500<br /><br />        Error Message:<br /> Caught exception in WormBase::Web::Controller::Tools->tools "Can't call method "class" without a package or object reference at /usr/local/wormbase/website/acabunoc/script/../lib/WormBase/API/Service/tree.pm line 67." <br />What were you doing?: <br />&nbsp;&nbsp;     

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: run (/tools/schema/run)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: Expected URL: http://dev.worm...

  Expected URL: http://dev.wormbase.org:9002/tools/schema/run<br /><br />      Server Error: 500<br /><br />      Error Message:<br /> Caught exception in WormBase::Web::Controller::Tools->tools "Can't call method "class" without a package or object reference at /usr/local/wormbase/website/acabunoc/script/../lib/WormBase/API/Service/tree.pm line 67." <br />What were you doing?: <br />&nbsp;&nbsp;   

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: run (/tools/schema/run)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: (/species/c_elegans/cds/RNASEQ_early_embryo_g9n11_x27_II_m)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig********************) (obscured for privacy)
Submitted From: *%20-%20search (/search/issue/
)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

hi, TEST TEST TEST testing label now Reported by...

hi,

TEST TEST TEST testing label now

Reported by: Abby (abig**********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1607.0 Safari/537.36

: Expected URL: http://dev.wo...

    Expected URL: http://dev.wormbase.org:9002/tools/schema/run<br /><br />        Server Error: 500<br /><br />        Error Message:<br /> Caught exception in WormBase::Web::Controller::Tools->tools "Can't call method "class" without a package or object reference at /usr/local/wormbase/website/acabunoc/script/../lib/WormBase/API/Service/tree.pm line 67." <br />What were you doing?: <br />&nbsp;&nbsp;     

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: run (/tools/schema/run)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

: testing again Reported by: Abig***...

"testing again

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1607.0 Safari/537.36

"

: test Reported by: Abig*********** ...

test

Reported by: Abig*********** (abig*********************) (obscured for privacy)
Submitted From: GBG_brenneri_K10D3.3 (cds) (/species/c_brenneri/cds/GBG_brenneri_K10D3.3#c--10)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

-: test Reported by: Abby (abig******...

test

Reported by: Abby (abig**********************) (obscured for privacy)
Submitted From: home (/)

Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

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.