Changeset 35157
- Timestamp:
- 2021-05-04T15:07:57+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/BUILDING.txt
r35146 r35157 38 38 -- 39 39 40 If you are operating a remote server for the DL install (i.e. not localhost) 41 then there are 3 places you need edit to specify the domain name (or IP number) 42 you are using: 43 44 In the following we assume the domain name of the server is 'mydomain.org' 45 46 47 4.1:Edit js/eurovision.js 48 49 Near the bottom of this JavaScript file, find the line: 50 51 var endpoint_url="//localhost:4040/greenstone/query"; // **** External IP? **** 52 53 And change to: 54 55 var endpoint_url="//mydomain.org:4040/greenstone/query"; // **** External IP? **** 56 57 58 4.2: Edit transform/layout/header.xsl 59 60 Change: 61 62 <xsl:variable name="sparqlEndpointHostAndOptPort">localhost:4040</xsl:variable> <!-- **** External IP? ****--> 63 <xsl:variable name="sparqlGraphBasePrefix">http://127.0.0.1:8383</xsl:variable> 64 65 <xsl:variable name="sparqlEndpointPrefix3"></xsl:variable> 66 <xsl:variable name="sparqlEndpoint3">http://localhost:4040</xsl:variable> <!-- **** External IP ? **** --> 67 68 To: 69 <xsl:variable name="sparqlEndpointHostAndOptPort">mydomain.org:4040</xsl:variable> <!-- **** External IP? ****--> 70 <xsl:variable name="sparqlGraphBasePrefix">http://127.0.0.1:8383</xsl:variable> 71 72 <xsl:variable name="sparqlEndpointPrefix3"></xsl:variable> 73 <xsl:variable name="sparqlEndpoint3">http://mydomain.org:4040</xsl:variable> <!-- **** External IP ? **** --> 74 40 75 41 76 -- … … 47 82 tar xvzf import.tar.gz 48 83 84 export FULL_GREENSTONE_URL_PREFIX=http://mydomain.org/greenstone3/library 85 49 86 ./FULL-REBUILD.sh 50 87 51 52 53 54 transform and js55 56 greenstone3-lod57 greenstone3-lod358 59 FULL_GREENSTONE_URL_PREFIX=https://so-we-must-think.space/greenstone3/eurovision-library60 61 62 63 64 # Edit:65 66 siteConfig.xml67 68 69 # and then restart the GS3 server (from $GSDL3SRCHOME)70 71 ant restart72 73 74 # Build the collection 'eurovision'75 76 cd collect/eurovision77 78 ./IMPORT.sh79 80 ...
Note:
See TracChangeset
for help on using the changeset viewer.