webmcp

changeset 515:a46e65880d8b

Minor fixes in documentation
author jbe
date Mon Aug 21 13:50:08 2017 +0200 (10 months ago)
parents 297bedede137
children 4e01395845f1
files doc/autodoc-header.htmlpart
line diff
     1.1 --- a/doc/autodoc-header.htmlpart	Mon Aug 21 13:15:05 2017 +0200
     1.2 +++ b/doc/autodoc-header.htmlpart	Mon Aug 21 13:50:08 2017 +0200
     1.3 @@ -95,7 +95,7 @@
     1.4      </p>
     1.5      <h2>Installation</h2>
     1.6      <p>
     1.7 -      After downloading the tar.gz package, unpack it, enter the unpacked directory and type <tt>make</tt>. If you use Mac OS X or if you experience problems during compilation, you need to edit the <tt>Makefile.options</tt> file prior to compilation. The framework itself will be available in the <tt>framework/</tt> directory, while a demo application is available in the <tt>demo-app/</tt> directory. The <tt>framework.precompiled/</tt> and <tt>demo-app.precompiled/</tt> directories will contain a version with all Lua files being byte-code pre-compiled, which can be used instead. You may copy these directories (with <tt>cp -L</tt> to follow links) to any other place you like. Don't forget to setup a database, and make the <tt>tmp/</tt> directory of the application writable for user who executes WebMCP. Good luck and have fun!
     1.8 +      After downloading the tar.gz package, unpack it, enter the unpacked directory and type <tt>make</tt>. If you use Mac OS X or if you experience problems during compilation, you need to edit the <tt>Makefile.options</tt> file prior to compilation. The framework itself will be available in the <tt>framework/</tt> directory, while a demo application is available in the <tt>demo-app/</tt> directory. The <tt>framework.precompiled/</tt> and <tt>demo-app.precompiled/</tt> directories will contain a version with all Lua files being byte-code pre-compiled, which can be used instead. You may copy these directories (with <tt>cp -L</tt> to follow links) to any other place you like. Don't forget to setup a database, and make the <tt>tmp/</tt> directory of the application writable for the user who executes WebMCP. Good luck and have fun!
     1.9      </p>
    1.10      <h2>Configuration, initializers, and request handling</h2>
    1.11      <p>
    1.12 @@ -219,7 +219,7 @@
    1.13  function mondelefant.class_prototype:<a href="#db_class:get_db_conn">get_db_conn</a>() return db end
    1.14  execute.inner()</pre>
    1.15      <p>
    1.16 -      The parameters for <tt>mondelefant.connect</tt> are directly passed to PostgreSQL's client library libpq. See <a href="http://www.postgresql.org/docs/9.4/static/libpq-connect.html">PostgreSQL's documentation on PQconnect</a> for information about supported parameters.
    1.17 +      The parameters for <tt>mondelefant.connect</tt> are directly passed to PostgreSQL's client library libpq. See PostgreSQL's documentation for information about <a href="https://www.postgresql.org/docs/9.6/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS">supported parameters</a>.
    1.18      </p>
    1.19      <p>
    1.20        To define a model to be used within a WebMCP application, create a file named with the name of the model and <tt>.lua</tt> as extension in the <tt>model/</tt> directory of your application. The most basic definition of a model (named &ldquo;movie&rdquo; in this example) is:

Impressum / About Us