source: gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh@ 27264

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
3package=afrepo
4version=-git-all-april2013
5
6srcdir=$package$version
7
8echo ""
9echo "+ Testing for existing Greenstone extensions for AMP and echoprint"
10
11if [ "x$GEXTAMP" = "x" ] ; then
12 echo ""
13 echo "Error: Failed to find PHP-configured Apache httpd (GEXTAMP) extension"
14 echo ""
15else
16 echo "++ Found GEXTAMP: $GEXTAMP"
17fi
18
19if [ "x$GEXT_ECHOPRINT" = "x" ] ; then
20 echo ""
21 echo "Error: Failed to find GEXT_ECHOPRINT extension"
22 echo ""
23else
24 echo "++ Found GEXT_ECHOPRINT: $GEXT_ECHOPRINT"
25fi
26
27if [ ! -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
30fi
31
32
33echo ""
34echo "What about Override apache settings ?????"
35echo "****** 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
40echo ""
41echo "****"
42echo "* Afrepo extension now installed in "
43echo "* $GEXTAMP_INSTALLED"
44echo "*"
45echo "* Place audio files in: "
46echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/localtest"
47echo "*"
48echo "* Run: "
49echo "* makelinks"
50echo "* to populate:"
51echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/audio"
52echo "*"
53echo "* Finall, run: "
54echo "* apchectl start"
55echo "*"
56echo "* And in a web browser load up the URL:"
57echo "* http://localhost:8282/afrepo/"
58echo "****"
59echo ""
Note: See TracBrowser for help on using the repository browser.