Get the App
SLTechnology News&Howtos  ›  Development  › 

How to build Genome Database website by tripal

Shulou Source: shulou.com Published: 2022-06-02 01:11:02 10月02日 Update

This article mainly introduces tripal how to build a genome database website, which has a certain reference value. Interested friends can refer to it. I hope you will learn a lot after reading this article. Let's take a look at it.

Setting up Genome Database website by tripal

Download the official tripal image:

Docker pull tripalproject/tripaldocker:latest

Download the tripal module:

Git clone https://github.com/tripal/t4d8

Start the image to run the website:

Docker run-publish=80:80-name=t4d8-tid-volume=/web/t4d8:/var/www/drupal8/web/modules/contrib/tripal tripalproject/tripaldocker:latest

Common errors 1:The provided host name is not valid for this server. The solution can be found in: https://tripal4.readthedocs.io/en/latest/install/docker.html

Common error 2:

The website encountered an unexpected error. Please try again later.PDOException: SQLSTATE [08006] [7] FATAL: no pg_hba.conf entry for host ":: 1", user "drupaladmin", database "sitedb", SSL on FATAL: no pg_hba.conf entry for host ":: 1", user "drupaladmin", database "sitedb", SSL off in Drupal\ Component\ DependencyInjection\ PhpArrayContainer- > createService () (line 79 of / var/www/drupal8/web/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php). Drupal\ Component\ DependencyInjection\ PhpArrayContainer- > createService (Array 'database') (Line) Drupal\ Component\ DependencyInjection\ Container- > get (' database', 1) (Line: 212) Drupal\ Component\ DependencyInjection\ PhpArrayContainer- > resolveServicesAndParameters (Array) (Line: 62) Drupal\ Component\ DependencyInjection\ PhpArrayContainer- > createService (Array 'cache.container') (Line) Drupal\ Component\ DependencyInjection\ Container- > get (' cache.container') (Line: 550) Drupal\ Core\ DrupalKernel- > getCachedContainerDefinition () (Line: 903) Drupal\ Core\ DrupalKernel- > initializeContainer () (Line: 473) Drupal\ Core\ DrupalKernel- > boot () (Line: 716) Drupal\ Core\ DrupalKernel- > handle (Object) (Line: 19)

Solution: modify the localhost of / var/www/drupal8/web/sites/default/settings.php file: 'host' = >' 127.0.0.1'

Thank you for reading this article carefully. I hope the article "how to build a Genome Database website in tripal" shared by the editor will be helpful to you. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!

Tags: Websites articles genes genomes data databases methods common errors mirrors values interests at the same time official documents more friends modules knowledge editing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info NVidia Xiaomi Microsoft