| 1 |
$Id: INSTALL.txt,v 1.4 2007/10/03 09:09:53 allisterbeharry Exp $
|
| 2 |
|
| 3 |
1. Unpack the release package anywhere convenient, e.g /usr/share (NOT in a
|
| 4 |
directory used by Apache or IIS and visible web-side! Remember DAST is a CLI
|
| 5 |
app.). This will create a DAST folder which is now the "DAST_HOME"
|
| 6 |
(/usr/share/DAST)
|
| 7 |
|
| 8 |
2. Get the required dependencies from
|
| 9 |
http://www.abeharry.info/stuff/dast-deps.tar.gz or
|
| 10 |
http://www.abeharry.info/stuff/dast-deps.zip.
|
| 11 |
Unpack the dependencies package in the same dir you unpacked the DAST release
|
| 12 |
(e.g /usr/share/DAST) This will create under DAST_HOME the phing, creole,
|
| 13 |
jargon, PEAR_Config, PHPUnit and simpletest directories which contain the
|
| 14 |
respective PHP libraries. Your DAST folder should now look like this:
|
| 15 |
|
| 16 |
DAST (DAST_HOME) wherever you unpack the DAST package on your filesystem
|
| 17 |
|--bin This folder contains all the shell wrappers and executable PHP CLI
|
| 18 |
scripts
|
| 19 |
|--creole Contains the Creole library
|
| 20 |
|--doc User guide and API documentation
|
| 21 |
|--ext External scripts and tools used by build files, like patch scripts
|
| 22 |
|--jargon Contains the Jargon library
|
| 23 |
|--log Contains build file logs
|
| 24 |
|--projects You can use this folder for your build file projects. Contains the
|
| 25 |
default-site, do_testing-site and other quickstart projects.
|
| 26 |
|--phing Contains the Phing framework
|
| 27 |
|--PEAR_Config Contains the PEAR::Config library
|
| 28 |
|--simpletest Contains the SimpleTest library
|
| 29 |
|--PHPUnit Contains the PHPUnit library
|
| 30 |
|--src This folder contains all DAST-specific PHP class files and other source
|
| 31 |
files
|
| 32 |
|--tmp DAST temporary files directory
|
| 33 |
|
| 34 |
3. On *nix you MUST chmod +x the dast shell script in DAST_HOME/bin
|
| 35 |
(~/DAST/bin/ in the example above)
|
| 36 |
|
| 37 |
4. If your PHP5-CLI interpreter isn't on the system path (usually it's in
|
| 38 |
/usr/bin,) set the PHP_COMMAND environment variable to point to it.
|
| 39 |
|
| 40 |
That's it, you're done. Be sure to check out the README.txt and the
|
| 41 |
documentation at http://docs.google.com/View?docid=dcgv33zb_25d26w5n
|