Versions Compared

Key

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

...

  1. sudo a2enmod rewrite

  2. sudo service apache2 restart

Open the default vhost config file:

  1.  sudo nano /etc/apache2/sites-available/default
  2.  Now search for “AllowOverride None”  corresponding “DocumentRoot /var/www <Directory /var/www>” (which should be there TWO times) and change both to “AllowOverride All“. Search for these two lines.
  3.  Exit and save with CTRL+X, Y, ENTER.

Download 

...

PGA from GIT

  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 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 needed
  6. Create a copy of app/config/app_config.ini.template file as app/config/app_config.ini
    1. sudo cp  app/config/app_config.ini.template file as app/config/app_config.ini
  7. Now issue composer install command
    1. sudo composer update
  8. Restart the web server
    1. sudo service apache2 restart

...