Project-Id-Version: Trac 0.12
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <>
Language-Team: en_US <>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Version 2 (modified by sebastian, 10 years ago) (diff)

Add comment for folder structure of /phtagr/app

This installation procedure describes the installation from SVN. Therefore we assume that your are an advanced user who knows the shell! After downloading and prepared the phTagr must be initialized which is described in SetupProcedure. Please read the SoftwareRequirements before installing!

It really good that you want to stay at the edge by fetching phTagr from the SVN repository!

The given installation examples are based in on Ubuntu 9.04 but works similar on other system, too. We assume that you install phTagr in a system wide environment - default location in /var/www/. It is possible to use the SVN version also in your user directory ~/public_html. Please read this manual and adapt the steps to HowToInstallInUserDir.

See also:

Get phTagr via SVN

Be aware that phTagr is not in the cakePHP's default app directory and you need some adjustments for the right redirection.

$ cd /var/www
$ sudo svn co phtagr
$ cd phtagr
$ svn co phtagr
    /cake        <-- CakePHP framework
    /app         <-- Default CakePHP's application - we dont use that at phtagr SVN version!
    /phtagr      <-- phTagr as cakePHP application
        /config  <-- Basic configuration path
            /core.php      <-- Basic core configuration file
            /database.php  <-- Database configuration file (can be created automatically)
        /users   <-- Directory of your user's files, photos, videos, cached previews, ...
        /tmp     <-- Directory for log files, cache files, ...
        /webroot <-- Directory of public files like javascript, css, images
    /.htaccess   <-- Redirection settings for apache

Now we need to make some folders accessible for the web server

$ cd 
$ cd /var/www
$ cd phtagr/phtagr
$ sudo chown -R www-data users tmp config

And an adjustment in /var/www/phtagr/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^$   phtagr/webroot/   [L]
    RewriteRule (.*) phtagr/webroot/$1 [L]

Open now phtagr in your browser http://localhost/phtagr/setup and continue with the SetupProcedure. On problems, see also HowToInstall and HowToInstallInUserDir. Eg. rewrite problem, suPHP, etc.

Note: If you run phTagr in your user directory ~/public_html, you have to change the RewriteRules from app to phtagr, too.