====== The easiest way to deploy BaseX ====== To deploy BaseX XML database it is easiest to use the ''.zip'' BaseX package. - Download the ''.zip'' archive somewhere - Unpack it, go to the directory ''basex'' which is root of unpacked archive - Start the ''basexhttp'' script from the ''basex/bin'' directory - If all goes well, you'll see a message like this: BaseX 7.7.2 [Server] Server was started (port: 1984) HTTP Server was started (port: 8984) This means that both a database server and a Jetty HTTP server instance have been started successfully at respective ports, which you can call from the browser. Now, to reach BaseX from the browser, after you have successfully run the ''basexhttp'' script, go to the following addresses: * ''http://localhost:8984'' * ''http://localhost:8984/rest'' The contents of the page you see at ''http://localhost:8984'' can be changed in the ''restxq.xqm'' file, which you'll find in your ''basex/webapp'' directory. Add there other ''.xq'' and ''.xqm'' files (containing XQueries you want to use). The REST interface at ''http://localhost:8984/rest'' can be called from your ''cgi'' scripts, e. g. those in your ''cgi-bin'' directory (outside ''basex'' installation).