view bin/rdfdb @ 1799:0bb7b9df12e5

collector warnings and errors. the reactor.crash isn't working. Ignore-this: b7d4a6c08f04c924ffba6112483f9c19
author drewp@bigasterisk.com
date Fri, 08 Jun 2018 03:35:30 +0000
parents bbe05d5c6a8f
children 7772cc48e016
line wrap: on
line source

#!bin/python
import run_local
import os
from light9 import networking, showconfig
import rdfdb.service

rdfdb.service.main(
    dirUriMap={os.environ['LIGHT9_SHOW'].rstrip('/') + '/':
               showconfig.showUri() + '/'},
    prefixes={
        'show': showconfig.showUri() + '/',
        '': 'http://light9.bigasterisk.com/',
        'rdf': 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
        'rdfs': 'http://www.w3.org/2000/01/rdf-schema#',
        'xsd': 'http://www.w3.org/2001/XMLSchema#',
        'effect': 'http://light9.bigasterisk.com/effect/',
        'dev': 'http://light9.bigasterisk.com/device/',
    },
    port=networking.rdfdb.port,
    )