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.

Changes between Version 7 and Version 8 of HowToInstallFromGit


Ignore:
Timestamp:
12/31/11 11:27:51 (7 years ago)
Author:
sebastian
Comment:

Modify for new folder structure of phTagr 2.2

Legend:

Unmodified
Added
Removed
Modified
  • HowToInstallFromGit

    v7 v8  
    1717= Get phTagr via Git = 
    1818 
    19 ''Be aware that phTagr is not in the cakePHP's default {{{app}}} directory and you need some adjustments for the right redirection.'' 
    20  
    2119{{{ 
    2220$ cd  
    23 $ git clone git://github.com/cakephp/cakephp.git phtagr 
    24 $ cd phtagr      
    25 $ git checkout 1.3.4 -b 1.3.4 
    2621$ git clone git://github.com/xemle/phtagr.git phtagr 
    2722$ cd phtagr 
     
    3631{{{ 
    3732/phtagr        
    38     /cake        <-- CakePHP framework 
    39     /app         <-- Default CakePHP's application - we dont use that at phtagr Git version! 
    40     /phtagr      <-- phTagr as cakePHP application 
    41         /config  <-- Basic configuration path 
    42             /core.php      <-- Basic core configuration file 
    43             /database.php  <-- Database configuration file (can be created automatically) 
    44             ... 
    45         /users   <-- Directory of your user's files, photos, videos, cached previews, ... 
    46         /tmp     <-- Directory for log files, cache files, ... 
    47         /webroot <-- Directory of public files like javascript, css, images 
     33    /cakephp     <-- CakePHP framework 
     34    /config      <-- Basic configuration path 
     35        /core.php      <-- Basic core configuration file 
     36        /database.php  <-- Database configuration file (can be created automatically) 
    4837        ... 
    49     /docs 
    50     /vendors 
    51     /index.php 
     38    /users       <-- Directory of your user's files, photos, videos, cached previews, ... 
     39    /tmp         <-- Directory for log files, cache files, ... 
     40    /webroot     <-- Directory of public files like javascript, css, images 
     41    ... 
    5242    /.htaccess   <-- Redirection settings for apache 
    5343}}} 
    5444 
    55 Please see http://book.cakephp.org/view/329/Getting-Cake and http://book.cakephp.org/view/19/CakePHP-Folder-Structure for the general folder structure in cakePHP.  
     45Please see http://book.cakephp.org/view/329/Getting-Cake and http://book.cakephp.org/view/19/CakePHP-Folder-Structure for the general folder structure in cakePHP. '''Note''' Since phTagr 2.2 the PHP framework !CakePHP is used as sub directory within phtagr. 
    5646 
    57 Now we need to make some folders accessible for the web server (in {{{/var/www/phtagr/phtagr}}}) 
     47Now we need to make some folders accessible for the web server (in {{{/var/www/phtagr}}}) 
    5848 
    5949{{{ 
    60 $ cd /var/www/phtagr/phtagr 
     50$ cd /var/www/phtagr 
    6151$ sudo chown -R www-data users tmp config 
    62 }}} 
    63  
    64 And an redirection adjustment in {{{/var/www/phtagr/.htaccess}}} for cake's default application (which is now not in {{{app}}} but {{{phtagr}}}) 
    65  
    66 {{{ 
    67 <IfModule mod_rewrite.c> 
    68     RewriteEngine on 
    69     RewriteRule ^$   phtagr/webroot/   [L] 
    70     RewriteRule (.*) phtagr/webroot/$1 [L] 
    71 </IfModule> 
    7252}}} 
    7353 
    7454Open now phtagr in your browser http://localhost/phtagr, which should open the setup page. Continue with the SetupProcedure. On problems, see also HowToInstall and HowToInstallInUserDir. Eg. rewrite problem, suPHP, etc. 
    7555 
    76 '''Note:''' If you run phTagr in your user directory {{{~/public_html}}}, you have to change the !RewriteRules from {{{app}}} to {{{phtagr}}}, too. 
    77  
    7856||'''Please help us to make phtagr more popular''' Tell friends about it, add links to your blog or bookmark system, add your gallery to PhtagrInTheWild - read HowToHelp for more details||