Changes

From Amahi Wiki
Jump to: navigation, search
New page: The install and uninstall scripts are executed in the webapp directory for the app, say, for application foobar The script is run in /var/hda/web-apps/foobar = Useful Things = The...

The install and uninstall scripts are executed in the webapp directory for the app, say, for application

foobar

The script is run in

/var/hda/web-apps/foobar


= Useful Things =

The install script can use some utility scripts (we expect to improve on these as time goes on, so please feel free to ask for things to be canned as scripts as you see the need!).

== hda-install-file ==

This script will install files with some details of the local installation replaced, namely:

@HDA_NETWORK@ --> 192.168.1 (the network)
@HDA_SELF@ --> 10 (the ip address of the HDA)
@HDA_DOMAIN@ --> home.com (the domain)
@HDA_NETMASK@ --> 255.255.255 (the netmask)
@HDA_NICKNAME@ --> <yournick> (the nickname of the dyndns)

please don't assume much and use as generally as possible,
as these may support more general settings in the future
(like a more general netmask, etc.)
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
4,146

edits