Difference between revisions of "Main Page"

From GGBN Portal Software
Jump to: navigation, search
m (Configuration)
m (Configuration)
Line 25: Line 25:
  
 
=Configuration=
 
=Configuration=
TBD
+
''TBD''
yii, Apache, rights, SOLR (SOLR config files also & Java)
+
''yii, Apache, rights, SOLR (SOLR config files also & Java)''<br/>
 +
First, let say we want to access the portal under the URL http://localhost/ggbn_portal.
 +
 
 
*Check that the Apache User has writing/editing rights in the whole "my_portal" folder.
 
*Check that the Apache User has writing/editing rights in the whole "my_portal" folder.
*Edit the file my_portal/frontend/config/main.php
+
*Edit the file "my_portal/frontend/config/main.php".
 +
**<pre>$baseUrl = str_replace ( '/SUBDIR_AFTER_YOUR_WEB_FOLDER/my_portal/frontend/web', '/ggbn_portal', (new Request ())->getBaseUrl () );</pre>

Revision as of 15:43, 11 January 2016

Welcome to the Wiki of the GGBN Portal Software

Further information about the software will follow soon.


Presentation

TBD

Workflow

TBD

Installation

You will need

  • Apache (tested with Apache/2.4.7 (Ubuntu), Apache/2.2.22 (Debian), Apache/2.4.10 (Win64)) with libapache2-mod-php5
  • PHP5 (tested with 5.5.9, 5.5.30 and 5.5.15). You also might need to install php5-xsl, php5-gd and php5-mysql.
  • a SOLR instance (tested with Apache SOLR 4.9.0). Contact us for getting the appropriate SOLR configuration files.
  • a MySQL database (tested with MySQL 5.5.46). It will contain data harvested thanks to B-HIT

Yii (version 2) will be fully contained in the subversion code of the portal software.

Copy a working version from the svn

Create a destination folder, for the rest of this documentation we will choose "my_portal" in your web-folder (ie. /var/www/, or *WINPATH*).
Get http://ww2.biocase.org/svn/dnabank/Dnabank_Portal/ggbn_portal/trunk/ into "my_portal".

Configuration

TBD yii, Apache, rights, SOLR (SOLR config files also & Java)
First, let say we want to access the portal under the URL http://localhost/ggbn_portal.

  • Check that the Apache User has writing/editing rights in the whole "my_portal" folder.
  • Edit the file "my_portal/frontend/config/main.php".
    • $baseUrl = str_replace ( '/SUBDIR_AFTER_YOUR_WEB_FOLDER/my_portal/frontend/web', '/ggbn_portal', (new Request ())->getBaseUrl () );