Last change
on this file since 27264 was 27264, checked in by davidb, 11 years ago |
Mods made after testing
|
-
Property svn:executable
set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | package=afrepo
|
---|
4 | version=-git-all-april2013
|
---|
5 |
|
---|
6 | srcdir=$package$version
|
---|
7 |
|
---|
8 | echo ""
|
---|
9 | echo "+ Testing for existing Greenstone extensions for AMP and echoprint"
|
---|
10 |
|
---|
11 | if [ "x$GEXTAMP" = "x" ] ; then
|
---|
12 | echo ""
|
---|
13 | echo "Error: Failed to find PHP-configured Apache httpd (GEXTAMP) extension"
|
---|
14 | echo ""
|
---|
15 | else
|
---|
16 | echo "++ Found GEXTAMP: $GEXTAMP"
|
---|
17 | fi
|
---|
18 |
|
---|
19 | if [ "x$GEXT_ECHOPRINT" = "x" ] ; then
|
---|
20 | echo ""
|
---|
21 | echo "Error: Failed to find GEXT_ECHOPRINT extension"
|
---|
22 | echo ""
|
---|
23 | else
|
---|
24 | echo "++ Found GEXT_ECHOPRINT: $GEXT_ECHOPRINT"
|
---|
25 | fi
|
---|
26 |
|
---|
27 | if [ ! -h $GEXTAMP_INSTALLED/htdocs/afrepo ] ; then
|
---|
28 | echo "++ Creating symbolic link GEXTAMP_INSTALLED/htdocs/afrepo -> $srcdir"
|
---|
29 | ln -s `pwd`/$srcdir $GEXTAMP_INSTALLED/htdocs/afrepo
|
---|
30 | fi
|
---|
31 |
|
---|
32 |
|
---|
33 | echo ""
|
---|
34 | echo "What about Override apache settings ?????"
|
---|
35 | echo "****** Test to see if 'audiofiles' exists => generate message if not? ==> auto run cmd ???"
|
---|
36 |
|
---|
37 | /bin/cp $srcdir/examples/afrepo/AFRepo.localtest.class.php $GEXTAMP_INSTALLED/htdocs/afrepo/AFRepo.class.php
|
---|
38 |
|
---|
39 |
|
---|
40 | echo ""
|
---|
41 | echo "****"
|
---|
42 | echo "* Afrepo extension now installed in "
|
---|
43 | echo "* $GEXTAMP_INSTALLED"
|
---|
44 | echo "*"
|
---|
45 | echo "* Place audio files in: "
|
---|
46 | echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/localtest"
|
---|
47 | echo "*"
|
---|
48 | echo "* Run: "
|
---|
49 | echo "* makelinks"
|
---|
50 | echo "* to populate:"
|
---|
51 | echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/audio"
|
---|
52 | echo "*"
|
---|
53 | echo "* Finall, run: "
|
---|
54 | echo "* apchectl start"
|
---|
55 | echo "*"
|
---|
56 | echo "* And in a web browser load up the URL:"
|
---|
57 | echo "* http://localhost:8282/afrepo/"
|
---|
58 | echo "****"
|
---|
59 | echo ""
|
---|
Note:
See
TracBrowser
for help on using the repository browser.