Changes between Version 1 and Version 2 of InstallDiscoveryBrowse


Ignore:
Timestamp:
12/07/07 13:05:55 (12 years ago)
Author:
domlowe
Comment:

Finished installation notes

Legend:

Unmodified
Added
Removed
Modified
  • InstallDiscoveryBrowse

    v1 v2  
    129129 
    130130 
     131Make a directory called NDGServices (or whatever) where you want to keep the pylons code. eg 
     132{{{ 
     133sudo mkdir /usr/local/NDGServices 
     134}}} 
    131135 
     136Move to the parent directory, e.g.: 
     137{{{ 
     138cd /usr/local 
     139}}} 
     140 
     141Export the code from svn into the NDGServices directory: 
     142{{{ 
     143svn export svn+ssh://yourusername@glue.badc.rl.ac.uk/ndgsvn/TI05-delivery/trunk/ NDGServices 
     144}}} 
     145 
     146== Step 9: Build your eggs == 
     147Pylons works with eggs, so build eggs for the ows_server and ows_common packages: 
     148 
     149{{{ 
     150cd /usr/local/NDGServices/ows_server 
     151sudo python setup.py install 
     152 
     153cd ../ows_common/ 
     154sudo python setup.py install 
     155 
     156#change back to /usr/local/NDGServices 
     157cd .. 
     158}}} 
     159 
     160== Step 10: Edit local settings == 
     161You will need to configure which port you are using to serve the pylons applications. The default is 8080. To change it edit the file called development.ini and change the port number in this section to the port you want to use (or leave it if you want 8080). 
     162 
     163{{{ 
     164[server:main] 
     165use = egg:Paste#http 
     166host = 0.0.0.0 
     167port = 8080 
     168}}} 
     169 
     170Now open the file in NDGServices/ows_server/ows_server/config called ndgDiscovery.config, and change the 'repository' and 'server' urls to match your server. 
     171 
     172Now change directory back to the NDGServices directory: 
     173{{{ 
     174cd /usr/local/NDGServices 
     175}}} 
     176 
     177== Step 11: Start the services == 
     178Starting the server is a one line command: 
     179{{{ 
     180paster serve --reload development.ini 
     181}}} 
     182 
     183If that all worked, then you should be able to navigate to your server eg http://localhost:8080 and see the message: 
     184{{{ 
     185Welcome to your Pylons Web Application 
     186}}} 
     187 
     188If that worked, try navigating to the discovery service: 
     189e.g. 
     190{{{ 
     191http://localhost:8080/discovery 
     192}}} 
     193 
     194If that worked try and view discovery and browse records!! 
     195 
     196CSML services (WMS and WCS) are also available in this stack, but as they are still under development and nobody has any CSML they will be the subject of another wiki page. 
     197 
     198