root da5af1c64a hack to create files | há 6 anos atrás | |
---|---|---|
.github | há 6 anos atrás | |
docs | há 6 anos atrás | |
legacy | há 6 anos atrás | |
tests | há 6 anos atrás | |
tripal | há 6 anos atrás | |
tripal_bulk_loader | há 6 anos atrás | |
tripal_chado | há 6 anos atrás | |
tripal_chado_views | há 6 anos atrás | |
tripal_daemon | há 6 anos atrás | |
tripal_ds | há 6 anos atrás | |
tripal_ws | há 6 anos atrás | |
.gitignore | há 6 anos atrás | |
.travis.yml | há 6 anos atrás | |
CONTRIBUTING.md | há 6 anos atrás | |
LICENSE.txt | há 7 anos atrás | |
README.md | há 6 anos atrás | |
composer.json | há 6 anos atrás | |
composer.lock | há 6 anos atrás | |
phpunit.xml | há 6 anos atrás |
Tripal is a toolkit for construction of online biological (genetics, genomics, breeding, etc), community database, and is a member of the GMOD family of tools. Tripal v3 provides by default integration with the GMOD Chado database. Tripal's primary goals are:
Genomics, genetics, breeding and other biological data are increasingly complicated and time consuming to publish online for other researchers to search, browse and make discoveries. Tripal provides a framework to reduce the complexity of creating such a site, and provides access to a community of similar groups that share community-standards, and interact to address questions and learn best practices for sharing, storing and visualizing complex biological data.
The following major features are available in Tripal v3.
Please follow the instructions in the online Tripal User's Guide: http://tripal.info/tutorials/v2.0/installation
Note: Upgrade can only be performed using the drush
command.
Note: Deprecated API functions from Tripal v1.x have been removed from Tripal v3. Therefore, use of deprecated API functions in templates or custom modules may cause a white screen of death (WSOD). Check teh server logs if this occurs to find where deprecated functions may be used.
Upgrade Instructions:
Step 1: Put the site in maintenance mode.
Step 2: Disable tripal modules. Disabling the core module will disable all other Tripal modules:
drush pm-disable tripal_core
Step 3: Remove old Tripal v2 package and replace with Tripal v3 package Step 4: Enable the tripal module
drush pm-enable tripal
Step 5: Enable the tripal_chado module
drush pm-enable tripal_chado
Step 6: Tripal v2 modules are now called 'legacy modules'. these are the modules that were disabled in step #2. For backwards compatibility, you should re-enable these modules:
drush pm-enable tripal_core, tripal_views, tripal_db, tripal_cv, \
tripal_analysis, tripal_organism, tripal_feature, tripal_pub, \
tripal_stock
Be sure to enable any additional modules not included in the example drush command above.
Step 7: Return to your Tripal site, and click the link that appears for preparing Chado and launch the job.
Tripal can be used “as is” but also allows for complete customization. PHP-based template files are provided for all data types to allow for precise customizations as required by the community. A well-developed Tripal API provides a uniform set of variables and functions for accessing any and all data within the Chado database. See the Tripal 3.x Developer's Handbook for additional details.
To run PHP unit tests on your local system, run composer install
to install developer-specific requirements. Next, create a .env
file in your /Tests/
directory that defines the DRUPAL_ROOT
variable, for example
DRUPAL_ROOT=/var/www/html
Then run PHPUnit from your root Tripal directory.
PHPUnit tests will also be run in the Travis CI build.