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 8 and Version 9 of HowToMigratePhtagr


Ignore:
Timestamp:
12/31/11 13:05:19 (7 years ago)
Author:
sebastian
Comment:

Modify for new folder structure of phTagr 2.2

Legend:

Unmodified
Added
Removed
Modified
  • HowToMigratePhtagr

    v8 v9  
    77This section describes the general steps to upgrade or migrate your phTagr gallery to a newer version. If no other revision is mentioned below you can follow these steps. 
    88 
    9 It is assumed that your phTagr gallery files are located in {{{/var/www/phtagr}}}. The configuration file {{{phtagr/app/config/core.php}}} and the user upload directory {{{phtagr/app/users}}} have to be migrated from the old to the new phtagr sources. 
     9It is assumed that your phTagr gallery files are located in {{{/var/www/phtagr}}}. The configuration file {{{phtagr/config/core.php}}} and the user upload directory {{{phtagr/users}}} have to be migrated from the old to the new phtagr sources. 
    1010 
    1111 1. Rename your old phTagr 
     
    1717 {{{ 
    1818$ wget https://sourceforge.net/projects/phtagr/files/latest 
    19 $ unzip phtagr-rXXX.zip 
     19$ unzip phtagr-master-XXX.zip 
    2020}}} 
    2121 1. Migrate required files and directories from the old to the new phTagr 
    2222 {{{ 
    23 $ mv phtagr.old/app/config/core.php phtagr/app/config/core.php 
    24 $ mv phtagr.old/app/config/database.php phtagr/app/config/database.php 
    25 $ rm phtagr/app/users 
    26 $ mv phtagr.old/app/users phtagr/app 
     23$ mv phtagr.old/config/core.php phtagr/config/core.php 
     24$ mv phtagr.old/config/database.php phtagr/config/database.php 
     25$ mv phtagr.old/users/* phtagr/users 
    2726}}} 
    2827 1. Finally migrate the database schema and call the {{{setup}}} controller. If {{{http://localhost/phtagr}}} is your gallery URL, call {{{http://localhost/phtagr/setup}}}. ''Note:'' Usually the database migration was sucessful tested and should work fine. However you never know and before anything bad happens make a database dump (e.g. with {{{mysqldump}}})! 
     
    5352= phTagr prior 2.2 = 
    5453 
    55 In phTagr 2.2 the folder structure changed. phTagr is no longer a subfolder of the PHP framework CakePHP. Since phTagr 2.2 CakePHP is a subfolder of phTagr. The change has the advantage that CakePHP can be used as GIT submodule and simplifies the folders which where confusing in the past. Now there is only {{{/var/www/phtagr}}} as root directory. 
     54'''In phTagr 2.2 the folder structure changed'''. phTagr is no longer a subfolder of the PHP framework CakePHP. Since phTagr 2.2 CakePHP is a subfolder of phTagr. The change has the advantage that CakePHP can be used as GIT submodule and simplifies the folders which where confusing in the past. Now there is only {{{/var/www/phtagr}}} as root directory. 
    5655 
    5756Due this change the phTagrs folder {{{/var/www/cake/phtagr}}} becomes {{{/var/www/phtagr}}} ({{{/var/www/phtagr/phtagr}}} becomes {{{/var/www/phtagr}}} or {{{~/public_html/phtagr/app}}} becomes {{{~/public_html/phtagr}}}). Or in more abstract words phtagr root directory __was__ CakePHP's root directory and both switches their roles. 
     
    6261/phtagr        <-- phTagr root directory 
    6362    /cakephp   <-- CakePHP framework 
    64     /webroot   <-- Webroot  
    6563    /config    <-- Configuration directory for phTagr 
    6664    /users     <-- Users directory for uploaded files 
    6765    /tmp       <-- Temporary directory for cached files 
     66    /webroot   <-- Webroot  
    6867    ... 
    6968}}}