#!/usr/bin/python2.4

#
# (c)2005 LIRIS - University Claude Bernard Lyon 1
# http://liris.cnrs.fr/
#
# Author: Pierre-Antoine CHAMPIN
# http://champin.net/
#
# This software is distributed under the terms of the GNU LGPL v2.1.
# See LICENSE.txt for more details.
#

from cross import strapd

ak = "file:example/students_ak.owl"

print """Cross example Strapd running on strap://localhost:8090/

schema      strap://localhost:8091/schema.owl
data        strap://localhost:8091/data.owl
ak          strap://localhost:8091/ak.owl
"""

strapd.run (
    protocol = "strap",
    # socket configuration
    host = "localhost",
    port = "8090",
    # database connection - customize this according to your needs
    driver  = "sqlite",
    connect_args = ["example/students.db",],
    connect_kw   = {},
    datasource_kw = {},
    ak_url = ak,
)
