[EHPweb] WebApp Installer
Eric M Martinez
emartinez at usgs.gov
Tue Jan 19 23:04:07 UTC 2010
- All -
I've updated the web app installer script to use pre/post install
hooks as well as an uninstall hook. If you use either a pre/post
install hook script, the installer then requires there also be an
uninstall script. All this is optional if you do not want/need any
additional steps to install a web app. In order to use this
functionality you should create files in your app's "lib" directory as
follows:
pre-install
Run before linking or restarting Apache.
post-install
Run after linking and restarting Apache.
uninstall
Run in the event either of the install scripts fails or after
unlinking and restarting Apache.
These hooks can be useful for system dependent configuration purposes
or to compile code etc... They need to be executable but the language
in which they are written does not matter. No arguments are passed to
these scripts. Please let me know if you have any questions. These
hooks are currently only on EHPDevel. If we find this feature to be
useful I will push the change to the other server.
Thanks,
~Eric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/ehpweb/attachments/20100119/77e151d5/attachment.html>
More information about the EHPweb
mailing list