doc:phd:view
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:phd:view [2008/03/10 00:57] – imported, originally written by Hannes philip | doc:phd:view [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Viewing the results ====== | ====== Viewing the results ====== | ||
- | After [[doc: | + | After [[doc: |
- | You have a few choices: | + | |
- | * See how it would be online (the php/ folder) | + | * View how it would look online (the php/ folder, which uses the theme used by www.php.net) |
- | * Just quickly see the results | + | * View the plain html (the html/ folder) |
- | * Test how long it takes for your browser to render 20mb xhtml file (the bightml.html file) | + | * View the single |
+ | * And other formats that require additional setup to the build environment: | ||
===== Viewing the php/ folder ===== | ===== Viewing the php/ folder ===== | ||
- | These files are tightly integrated into www.php.net, | + | These files are tightly integrated into www.php.net, |
- | This method is currently the only " | + | setup a '' |
- | (Note; On Windows you are pretty much out of luck regarding | + | Note: These instructions |
+ | |||
+ | So, the mirrors use the **rsync** command. The following | ||
<code bash> | <code bash> | ||
- | $ cd / | + | $ rsync -avzC --timeout=600 --delete --delete-after \ |
- | $ cvs -d: | + | --exclude=' |
- | $ (cd include && for i in countries.inc last_updated.inc mirrors.inc pregen-confs.inc pregen-events.inc pregen-news.inc; do fetch "http://www.php.net/include/$i"; done;) | + | rsync.php.net:: |
- | $ (cd backend && for i in ip-to-country.db ip-to-country.idx; | + | $ ln -s / |
- | $ (cd manual && | + | |
</ | </ | ||
- | (Yes. The parentheses **//are//** important!) | ||
- | Now locate | + | Notes: |
- | For an example virtual host configuration, see [[http:// | + | * Change /path/to/your/ |
- | Now restart | + | * The 'ln -s' creates a symlink from your build directory to this location in the docroot |
+ | * The docroot will likely be setup as a new virtual host via the web server configuration file | ||
+ | * See also an example virtual host configuration | ||
+ | * Once the changes are made, restart | ||
===== Viewing the html/ folder ===== | ===== Viewing the html/ folder ===== | ||
Do **//not//** place the contents of the html/ folder onto your webserver. Especially not if you are running apache2. | Do **//not//** place the contents of the html/ folder onto your webserver. Especially not if you are running apache2. | ||
- | Just browse to the folder in your faviorite | + | Just browse to the folder in your favorite |
===== Viewing the bightml.html file ===== | ===== Viewing the bightml.html file ===== | ||
- | Double click it. | + | Is that really wise? |
doc/phd/view.1205110653.txt.gz · Last modified: 2017/09/22 13:28 (external edit)