# Snapweb Placeholder

This is a placeholder for Snapweb, a web based control client and player for Snapcast.
To install Snapweb, please follow these steps:

1. Download Snapweb on the Snapweb release page. You can either download
   - snapweb.zip and extract it on your Snapcast server machine, e.g. into `/usr/share/snapserver/snapweb` or
   - snapweb_x.y.z-1_all.deb and install it with `sudo apt install ./snapweb_x.y.z-1_all.deb` to `/usr/share/snapweb`
2. Configure the document root (`doc_root`, see below) in the snapserver configuration file `snapserver.conf` — usually located in `/etc/snapserver.conf` — to the location where snapweb is extracted or installed.
3. Restart Snapserver to activate the changes: `sudo service snapserver restart`

    # HTTP RPC #####################################
    #
    [http]

    ...

    # serve a website from the doc_root location
    doc_root = /usr/share/snapserver/snapweb/

    #
    ################################################