Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Requires a Unix or Unix like operating system
  2. Requires a web server (e.g apache web server) with PHP 5.4 or higher. Make sure have enabled mod_rewrite module in httpd.conf file and enable PHP SOAP extension
  3. Install Composer
  4. MYSQL database installation
  5. MCrypt PHP extension

Installations

 Starting  The following guide give a sample installation starting from a fresh Ubunutu 12.04 installation. Similar instructions should be used in other operating systems.

Update the ubuntu package manager

...

  1. Download PGA from github to the document root of you web server /var/www. 
  2. Use git clone https://github.com/apache/airavata-php-gateway.git or download the zip from the github web page.
  3. Go inside the PGA directory (e.g /var/www/airavata-php-gateway)
  4. Make sure the storage folder is writable
    1. sudo chmod -R 777 755 app/storage
  5. Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings
    NOTE: this file will be removed in the future. So this will not be neededCreate a copy of app/config/app_config.ini.template file as app/config/app_config.inisudo cp  app/config/app_config.ini.template file as app/config/app_config.ini
  6. Now issue composer install command
    1. sudo composer updateinstall
  7. Restart the web server
    1. sudo service apache2 restart

...

  1. Make sure the php version >= 5.4
  2. Requires a Unix or Unix like operating system
  3. Requires a web server (e.g apache web server) with PHP version >=5.4. Make sure have enabled mod_rewrite module in httpd.conf file and enable PHP SOAP extension
  4. Install Composer
  5. MYSQL database installation
  6. MCrypt PHP extension


Installations

  1. Open - https://www.digitalocean.com/community/tutorials/how-to-install-laravel-4-on-a-centos-6-vps  and follow the steps for -
    1. Installing repositories 
    2. If you do not have apache, php, mysql installed. run installation steps for them too.
    3. Installing Composer
  2. Run ' git clone https://github.com/SciGaP/laravel-pga.git pga ' in the desired location.
  3. Change directory permissions of the storage folder with 'chmod 755 -R pga/app/storage '
  4. Update ./pga/app/libraries/userapi_config.ini
    1. server-host = “”
    2. server-port = “”
  5. Update ./pga/app/libraries/wsis_config.ini
    1. admin-username = "test@testphprg.scigap.org<mailto:test@testphprg.scigap.org>"
    2. admin-password = "testadmin@scigap.org<mailto:testadmin@scigap.org>"
    3. cafile-path = "/resources/security/idp_scigap_org.pem"
  6. Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings.
  7. In httpd.conf, enable mod_rewrite module.
  8. Run ' composer update install ' in the root (pga) directory.
  9. Run localhost/<path-to-pga-directory>/public

...