source: TI01-Discovery-service-BUILDOUTS/trunk/ndg-Redirection-service/Makefile @ 6555

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-Discovery-service-BUILDOUTS/trunk/ndg-Redirection-service/Makefile@6555
Revision 6555, 770 bytes checked in by sdonegan, 11 years ago (diff)

NDG redirect service configs etc at time of NDG3 upgrade to ndg.nerc.ac.uk

Line 
1#
2# Makefile to customise WSGI script generated by zc.buildout and add in logging
3# capability.  It also installs the script in the correct area for Apache to pick up
4# Alteration of the script is done with a series of ugly sed calls.  This could be
5# replaced by a customised Pylons buildout recipe to add the logging calls in
6#
7# P J Kershaw 04/06/09
8WSGI_DIR=/usr/local/apache2/wsgi_scripts_public
9WSGI_SCRIPT_NAME=ndgRedirect.wsgi
10WSGI_SCRIPT_IN_FILE=./parts/ndgRedirect/wsgi
11#TMP_FILE=${WSGI_SCRIPT_IN_FILE}.tmp
12TMP_FILE=${WSGI_SCRIPT_IN_FILE}
13
14install_wsgi:
15        @echo installing WSGI script ...
16        cp ${TMP_FILE} ${WSGI_DIR}/${WSGI_SCRIPT_NAME}
17        @echo Done.
18
19http_proxy=http://wwwcache.rl.ac.uk:8080
20
21buildout:
22        export http_proxy=${http_proxy}; /usr/local/bin/buildout
Note: See TracBrowser for help on using the repository browser.