Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
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 <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
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 1 (modified by sebastian, 9 years ago) (diff)

Initial commit - with copies from HowToInstall

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 https://svn.cakephp.org/repo/branches/1.2.x.x phtagr
$ cd phtagr
$ svn co https://svn.phtagr.org/phtagr/trunk phtagr
/phtagr       
    /cake        <-- CakePHP framework
    /phtagr         <-- phTagr as CakePHP's default 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
        ...
    /docs
    /vendors
    /index.php
    /.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]
</IfModule>

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.