doc:phd:faq
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
doc:phd:faq [2008/03/08 16:22] – initial commit philip | doc:phd:faq [2011/04/06 10:59] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
There are many different ways to install PhD, including: | There are many different ways to install PhD, including: | ||
- | * PEAR Channel: | + | * PEAR Channel: |
- | * Download: | + | * Download: |
- | * CVS: See CVS INSTALL Wiki | + | * SVN: See [[doc: |
- | ==== How do I manage using PhD from CVS using PEAR? ==== | + | ==== How do I manage using PhD from SVN using PEAR? ==== |
=== Download: === | === Download: === | ||
- | * http://cvs.php.net/ | + | * View source: |
- | * http:// | + | * SVN Repo: http://svn.php.net/ |
+ | * http:// | ||
<code shell> | <code shell> | ||
- | $ cd /my/cvs/dir | + | $ cd /my/svn/dir |
- | $ cvs -d :pserver: | + | $ svn co http://svn.php.net/ |
$ cd phd | $ cd phd | ||
$ ls | $ ls | ||
Line 23: | Line 24: | ||
===Installing: | ===Installing: | ||
<code shell> | <code shell> | ||
- | $ cd /the/phd/cvs/dir | + | $ cd /the/phd/svn/dir |
- | $ cvs up -dP | + | $ svn up |
$ pear install -f package.xml | $ pear install -f package.xml | ||
- | </ | + | </ |
===Upgrading: | ===Upgrading: | ||
<code shell> | <code shell> | ||
- | $ cd /the/phd/cvs/dir | + | $ cd /the/phd/svn/dir |
- | $ cvs up -dP | + | $ svn up |
$ pear upgrade -f package.xml | $ pear upgrade -f package.xml | ||
</ | </ | ||
Line 41: | Line 42: | ||
</ | </ | ||
Note: -f, --force : overwrite newer installed packages | Note: -f, --force : overwrite newer installed packages | ||
+ | |||
+ | Note: pear requires the channel doc.php.net be added (pear channel-discover doc.php.net). The channel is available by default in recent pear versions. | ||
==== How do I configure PhD? ==== | ==== How do I configure PhD? ==== | ||
Line 47: | Line 50: | ||
$ phd -h | $ phd -h | ||
</ | </ | ||
+ | By default, PhD attempts to build several themes (xhtml, bigxhtml, chm, and phpweb) and use .manual.xml that's first generated by configure.php | ||
+ | |||
+ | ==== How do I use PhD with non-php.net centric projects? ==== | ||
+ | * Short answer: Create a theme, and build. | ||
+ | * Long answer: It's not yet friendly for this but two close examples of smaller projects that use PhD are: The [[http:// | ||
+ |
doc/phd/faq.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1