128 | | == Step 8: Get the code from subversion* == |
129 | | '''''NOTE: Steps 8 and 9 should be replaced with a simple egg install soon.''''' |
130 | | |
131 | | Make a directory called NDGServices (or whatever) where you want to keep the pylons code. eg |
132 | | {{{ |
133 | | sudo mkdir /usr/local/NDGServices |
134 | | }}} |
135 | | |
136 | | Move to the parent directory, e.g.: |
137 | | {{{ |
138 | | cd /usr/local |
139 | | }}} |
140 | | |
141 | | Export the code from svn into the NDGServices directory: |
142 | | {{{ |
143 | | svn export svn+ssh://yourusername@glue.badc.rl.ac.uk/ndgsvn/TI05-delivery/ows_framework/trunk/ NDGServices |
144 | | }}} |
145 | | |
146 | | == Step 9: Build your eggs == |
147 | | Pylons works with eggs, so build eggs for the ows_server and ows_common packages: |
148 | | |
149 | | {{{ |
150 | | cd /usr/local/NDGServices/ows_server |
151 | | sudo python setup.py install |
152 | | |
153 | | cd ../ows_common/ |
154 | | sudo python setup.py install |
155 | | |
156 | | #change back to /usr/local/NDGServices |
157 | | cd .. |
| 128 | == Step 8: Install the OWS Framework Eggs == |
| 129 | Install ows_server egg: |
| 130 | {{{ |
| 131 | sudo python -m easy_install -f http://ndg.nerc.ac.uk/dist ows_server |
| 132 | }}} |
| 133 | |
| 134 | Install ows_common egg: |
| 135 | {{{ |
| 136 | sudo python -m easy_install -f http://ndg.nerc.ac.uk/dist ows_common |
| 137 | }}} |
| 138 | |
| 139 | == Step 9: Set-up Config directories == |
| 140 | Make a directories for configuration and items: |
| 141 | {{{ |
| 142 | sudo mkdir /etc/ndg |
| 143 | sudo mkdir /etc/ndg/ows_server |
| 144 | sudo mkdir /etc/ndg/ows_server/conf /etc/ndg/ows_server/certs /etc/ndg/ows_server/run /etc/ndg/ows_server/logs |
| 145 | }}} |
| 146 | |
| 147 | Copy config files from the ows_server egg to /etc/ndg/ows_server/conf |
| 148 | |
| 149 | {{{ |
| 150 | sudo cp development.ini /etc/ndg/ows_server/conf |
| 151 | sudo cp ndgDiscovery.config /etc/ndg/ows_server/conf |