source: gs3-installations/intermuse/trunk/sites/intermuse/collect/_local_collect_config.sh@ 37076

Last change on this file since 37076 was 36974, checked in by davidb, 18 months ago

Additional scripts to help with the building and management of collections in the IntermusE gs3-installation

File size: 729 bytes
Line 
1
2
3col=${PWD##*/}
4
5site_with_subdirs=${PWD##*/sites/}
6site=${site_with_subdirs%%/*}
7
8#
9# For *command-line* *building*, can talk to the library over *localhost*,
10# even if the DL collection proxied through another web server to make it
11# publically available to end-users (i.e. accessed via a web browser)
12#
13
14gs_http_port=`egrep "^localhost.port.http" ../../../../../build.properties | sed 's/^localhost\.port\.http=//'`
15
16gs_context=`egrep "^greenstone.context" ../../../../../build.properties | sed 's/^greenstone\.context=//'`
17#gs_context="my-url-prefix"
18
19gs_library_url="http://localhost:$gs_http_port/$gs_context/library"
20#gs_library_url="http://localhost:$gs_http_port/$gs_context/$site-library"
21
22gs_server_usernane=www-data
Note: See TracBrowser for help on using the repository browser.