Requirements for this installation guide:

  • standard installation of symfony 1.1
  • If you installed symfony 1.1 into another directory, you have to define the path to the symfony libs in config/path.php

Notes:

  • All paths are examples for ubuntu linux, except otherwise stated
  • Replace 'vi' with your favourite editor (e.g. 'nano')

 

Install ullright

Setup database

  • mysql -u root -p
    • CREATE DATABASE ullright;
    • GRANT ALL ON ullright.* TO ullright@localhost IDENTIFIED BY 'right&wrong!';
    • exit

Setup webserver

  • sudo vi /etc/hosts
    •  
      127.0.0.1       ullright
  • sudo vi /etc/apache2/sites-available/ullright
    •  
      <VirtualHost *>
        ServerName ullright
        DocumentRoot /var/www/ullright/web
          <Directory /var/www/ullright/web>
              AllowOverride All
              Allow from All
          </Directory>
        Alias /sf /usr/share/php/data/symfony/web/sf
          <Directory /usr/share/php/data/symfony/web/sf>
              AllowOverride All
              Allow from All
          </Directory>
          <Directory /var/www/ullright/web/uploads>
              # Disable rewrite in upload dir (fix to get FCKeditor uploads working)
              RewriteEngine off
              # Disable script execution
              AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
              Options -ExecCGI
          </Directory>
        ErrorLog /var/log/apache2/ullright-error.log
        CustomLog /var/log/apache2/ullright-access.log combined
      </VirtualHost>
  • sudo a2ensite ullright
  • sudo /etc/init.d/apache2 reload

Testdata loading and cleanup

  • php symfony fix-perms
  • php symfony doctrine:build-all-reload --force frontend
  • php symfony cc

Launch...