This section will modify the "helloworld"
Software Release, a software that creates a simple web server and publishes the
text hello <configuration.name>.
This will be done using a Webrunner
a development IDE, that contains a "mini SlapOS Master" for deploying a
single software (helloworld). In more complex SlapOS networks, a master
manages a catalog of softwares which are supplied and instantiated on a
network of nodes, some of which may again be Webrunners containing a single
software release. Webrunners are useful, because they provide resiliency for
this single software by hosting multiple "internal" instances. The deployed
software may also be patched and can be accessed via SSH which for some
softwares may be required to access the underlying file system.
The software release of "Helloworld" is relatively simple and composed of
two files:
software.cfg
- the Buildout profile which installs the software release on a computer
instance.cfg.in
- the instance profile filled by software.cfg
on instantiation
instance.cfg.in
will be used to deploy (configure and run)
one (on the Webrunner) or multiple (on a SlapOS network) instances of a
software. Note, that after Buildout has filled the instance.cfg.in
file, there should be a hidden file called .installed.cfg
. In
case of instantiation failing this is a good place to look for what went
wrong.