Changeset 3837

Show
Ignore:
Timestamp:
02/19/08 02:41:37 (17 months ago)
Author:
guilhermeblanco
Message:

Updates in Getting Started manual chapter (fixes #794)

Files:
9 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/manual/docs/en/getting-started/installation.txt

    r3721 r3837  
    1 The installation of doctrine is very easy. Just get the latest revision of 
    2 Doctrine from http://svn.phpdoctrine.org/branches/0.10.  
     1There are currently four different methods to install Doctrine. 
    32 
    4 You need a SVN (Subversion) client for downloading Doctrine. 
     3* SVN (subversion) 
     4* SVN externals 
     5* Pear 
     6* Zip-package 
    57 
    6 In order to check out Doctrine in the current directory using the **svn** command line tool use the following code:  
     8It is recommended to download Doctrine via SVN (subversion), because in this case updating is easy.  
     9If your project is already under version control with SVN, you should choose SVN externals.  
     10 
     11 
     12+++ SVN  
     13 
     14The installation of doctrine via SVN is very easy. Just get the latest revision of Doctrine from http://svn.phpdoctrine.org/branches/0.10. 
     15 
     16In order to check out Doctrine in the current directory using the **svn** command line tool use the following code: 
    717 
    818<code type="bash"> 
    9 svn co http://svn.phpdoctrine.org/branches/0.10 .  
     19svn co http://svn.phpdoctrine.org/branches/0.10 . 
    1020</code> 
    1121 
    12 If you do not have a SVN client, chose one from the list below. Find the 
    13 **Checkout** option and enter http://svn.phpdoctrine.org/branches/0.10 in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
     22If you do not have a SVN client, chose one from the list below. Find the **Checkout** option and enter svn.phpdoctrine.org/branches/0.10 in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
    1423 
    1524* [http://tortoisesvn.tigris.org/ TortoiseSVN] a Windows application that  integrates into Windows Explorer 
    1625* [http://www.apple.com/downloads/macosx/development_tools/svnx.html svnx] a  Mac OS X GUI svn application  
    1726* Eclipse has SVN integration through the [http://subclipse.tigris.org/ subeclipse] plugin 
     27 
     28You can update to the latest version with 
     29 
     30<code type="bash"> 
     31svn update 
     32</code> 
     33 
     34in your doctrine directory. 
     35 
     36 
     37+++ SVN externals 
     38 
     39If your project is under version control with SVN, you should set up doctrine via svn externals. You can do this with the **svn** command line tool: 
     40 
     41<code type="bash">  
     42svn pe svn:externals /path/to/project 
     43</code> 
     44 
     45You have to put the following line in the editor and save the changes. 
     46 
     47<code> 
     48doctrine http://svn.phpdoctrine.org/branches/0.10 
     49</code> 
     50 
     51Afterwards you can download doctrine with 
     52 
     53<code> 
     54svn update 
     55</code> 
     56 
     57 
     58+++ PEAR 
     59 
     60You can install Doctrine via PEAR with the following command: 
     61 
     62<code type="bash">  
     63pear install http://pear.phpdoctrine.org/Doctrine-0.10.1 
     64</code> 
     65 
     66 
     67+++ Zip-package 
     68 
     69You can download Doctrine as a .zip or .tgz (for Linux) package from http://www.phpdoctrine.org/download. 
     70Simply unzip it to your project directory with your favorite zip tool. 
     71 
     72Under Linux you can extract the .tgz package with the following command line instruction: 
     73 
     74<code type="bash">  
     75tar xzf Doctrine-0.10.1.tgz 
     76</code>  
  • branches/0.10/manual/docs/en/getting-started/starting-new-project.txt

    r3065 r3837  
    2626<code type="php"> 
    2727//require the base Doctrine class 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030//register the autoloader 
  • branches/0.10/manual/docs/en/getting-started/working-with-existing-databases.txt

    r3105 r3837  
    2626 
    2727<code type="php"> 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030spl_autoload_register(array('Doctrine', 'autoload')); 
  • branches/0.9/manual/docs/en/getting-started/installation.txt

    r3065 r3837  
    1 The installation of doctrine is very easy. Just get the latest revision of Doctrine from http://doctrine.pengus.net/svn/trunk.  
     1There are currently four different methods to install Doctrine. 
    22 
    3 You need a SVN (Subversion) client for downloading Doctrine. 
     3* SVN (subversion) 
     4* SVN externals 
     5* Pear 
     6* Zip-package 
    47 
    5 In order to check out Doctrine in the current directory using the **svn** command line tool use the following code:  
     8It is recommended to download Doctrine via SVN (subversion), because in this case updating is easy.  
     9If your project is already under version control with SVN, you should choose SVN externals.  
     10 
     11 
     12+++ SVN  
     13 
     14The installation of doctrine via SVN is very easy. Just get the latest revision of Doctrine from http://svn.phpdoctrine.org/branches/0.9. 
     15 
     16In order to check out Doctrine in the current directory using the **svn** command line tool use the following code: 
    617 
    718<code type="bash"> 
    8 svn co http://doctrine.pengus.net/svn/trunk .  
     19svn co http://svn.phpdoctrine.org/branches/0.9 . 
    920</code> 
    1021 
    11 If you do not have a SVN client, chose one from the list below. Find the **Checkout** option and enter http://doctrine.pengus.net/svn/trunk in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
     22If you do not have a SVN client, chose one from the list below. Find the **Checkout** option and enter svn.phpdoctrine.org/branches/0.9 in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
    1223 
    1324* [http://tortoisesvn.tigris.org/ TortoiseSVN] a Windows application that  integrates into Windows Explorer 
    1425* [http://www.apple.com/downloads/macosx/development_tools/svnx.html svnx] a  Mac OS X GUI svn application  
    1526* Eclipse has SVN integration through the [http://subclipse.tigris.org/ subeclipse] plugin 
     27 
     28You can update to the latest version with 
     29 
     30<code type="bash"> 
     31svn update 
     32</code> 
     33 
     34in your doctrine directory. 
     35 
     36 
     37+++ SVN externals 
     38 
     39If your project is under version control with SVN, you should set up doctrine via svn externals. You can do this with the **svn** command line tool: 
     40 
     41<code type="bash">  
     42svn pe svn:externals /path/to/project 
     43</code> 
     44 
     45You have to put the following line in the editor and save the changes. 
     46 
     47<code> 
     48doctrine http://svn.phpdoctrine.org/branches/0.9 
     49</code> 
     50 
     51Afterwards you can download doctrine with 
     52 
     53<code> 
     54svn update 
     55</code> 
     56 
     57 
     58+++ PEAR 
     59 
     60You can install Doctrine via PEAR with the following command: 
     61 
     62<code type="bash">  
     63pear install http://pear.phpdoctrine.org/Doctrine-0.9.1 
     64</code> 
     65 
     66 
     67+++ Zip-package 
     68 
     69You can download Doctrine as a .zip or .tgz (for Linux) package from http://www.phpdoctrine.org/download. 
     70Simply unzip it to your project directory with your favorite zip tool. 
     71 
     72Under Linux you can extract the .tgz package with the following command line instruction: 
     73 
     74<code type="bash">  
     75tar xzf Doctrine-0.9.1.tgz 
     76</code>  
  • branches/0.9/manual/docs/en/getting-started/starting-new-project.txt

    r3065 r3837  
    2626<code type="php"> 
    2727//require the base Doctrine class 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030//register the autoloader 
  • branches/0.9/manual/docs/en/getting-started/working-with-existing-databases.txt

    r3131 r3837  
    2626 
    2727<code type="php"> 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030spl_autoload_register(array('Doctrine', 'autoload')); 
  • trunk/manual/docs/en/getting-started/installation.txt

    r3403 r3837  
    1 The installation of doctrine is very easy. Just get the latest revision of 
    2 Doctrine from http://svn.phpdoctrine.org/trunk.  
     1There are currently two different methods to install Doctrine. 
    32 
    4 You need a SVN (Subversion) client for downloading Doctrine. 
     3* SVN (subversion) 
     4* SVN externals 
    55 
    6 In order to check out Doctrine in the current directory using the **svn** command line tool use the following code:  
     6It is recommended to download Doctrine via SVN (subversion), because in this case updating is easy. 
     7If your project is already under version control with SVN, you should choose SVN externals. 
     8 
     9 
     10+++ SVN  
     11 
     12The installation of doctrine via SVN is very easy. Just get the latest revision of Doctrine from http://svn.phpdoctrine.org/trunk. 
     13 
     14In order to check out Doctrine in the current directory using the **svn** command line tool use the following code: 
    715 
    816<code type="bash"> 
    9 svn co http://svn.phpdoctrine.org/trunk .  
     17svn co http://svn.phpdoctrine.org/trunk . 
    1018</code> 
    1119 
    12 If you do not have a SVN client, chose one from the list below. Find the 
    13 **Checkout** option and enter http://svn.phpdoctrine.org/trunk in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
     20If you do not have a SVN client, chose one from the list below. Find the **Checkout** option and enter svn.phpdoctrine.org/trunk in the **path** or **repository url** parameter. There is no need for a username or password to check out Doctrine.  
    1421 
    1522* [http://tortoisesvn.tigris.org/ TortoiseSVN] a Windows application that  integrates into Windows Explorer 
    1623* [http://www.apple.com/downloads/macosx/development_tools/svnx.html svnx] a  Mac OS X GUI svn application  
    1724* Eclipse has SVN integration through the [http://subclipse.tigris.org/ subeclipse] plugin 
     25 
     26You can update to the latest version with 
     27 
     28<code type="bash"> 
     29svn update 
     30</code> 
     31 
     32in your doctrine directory. 
     33 
     34 
     35+++ SVN externals 
     36 
     37If your project is under version control with SVN, you should set up doctrine via svn externals. You can do this with the **svn** command line tool: 
     38 
     39<code type="bash">  
     40svn pe svn:externals /path/to/project 
     41</code> 
     42 
     43You have to put the following line in the editor and save the changes. 
     44 
     45<code> 
     46doctrine http://svn.phpdoctrine.org/trunk 
     47</code> 
     48 
     49Afterwards you can download doctrine with 
     50 
     51<code> 
     52svn update 
     53</code> 
  • trunk/manual/docs/en/getting-started/starting-new-project.txt

    r3065 r3837  
    2626<code type="php"> 
    2727//require the base Doctrine class 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030//register the autoloader 
  • trunk/manual/docs/en/getting-started/working-with-existing-databases.txt

    r3568 r3837  
    2626 
    2727<code type="php"> 
    28 require_once('lib/Doctrine.php'); 
     28require_once('path-to-doctrine/lib/Doctrine.php'); 
    2929 
    3030spl_autoload_register(array('Doctrine', 'autoload'));