# Creating, installing, and updating the home page

The Publican-generated home page is the localizable page to which visitors are directed by the site JavaScript and which provides the style for the website structure. The home page is structured as a DocBook `<article>` with an extra `web_type: home` parameter in its `publican.cfg` file. In its structure and its presentation, the home page is the same as any other article that you produce with Publican and is packaged the same way.

1. On a workstation, create a home page using the procedure described in .

2. In the directory in which you created the home page, run:

       $ publican package --binary

   Publican builds an RPM package and places it in the `/tmp/rpms/noarch/` directory of the home page. By default, Publican builds the RPM package for the operating system within which you are running Publican. To build an RPM package to install on a server that runs a different operating system, set the `os_ver` parameter in the home page's `publican.cfg` file.

3. Either upload the home page package to the webserver and install it with the `rpm -i` or `yum localinstall` command, or place the package in a repository and configure the webserver to install from that repository when you run `yum install`.

To update the home page, build a new package with a higher `<edition>` number or `<pubsnumber>` in the `Article_Info.xml`. Publican uses these values to set the version and release numbers for the RPM package. When you install this package on your webserver, yum can replace the old version with the new when you run `yum localinstall` for a local package, or `yum update` for a package fetched from a repository.