wiki:pylons

Version 1 (modified by lawrence, 12 years ago) (diff)

--

Updating pylons deployment

So you just updated the sandbox and you want it on ndgbeta ...

  1. Build a python 2.4 egg ...
    1. Get a local sandbox on a machine with 2.4 and make sure it's up to date
    2. Now at the ows_server level, type python setup.py build bdist_egg
  2. Copy your new egg to ndg (it is in the dist directory under your ows_server)
    1. scp dist/your_egg badc@…:/var/www/ndg_site/htdocs/dist/
  3. On glue, update your eggs: sudo /usr/local/bin/easy_install -U -f http://ndg.nerc.ac.uk/dist ows_server
  4. On glue, restart pylons sudo /etc/init.d/pylons restart