#!/bin/sh # Initial setup #### DATABASE / QUERY SERVER /usr/local/pgsql/bin/dropdb rdfweb1 #/usr/local/pgsql/bin/createdb -E UNICODE # if your postgres supports this... <- investigate /usr/local/pgsql/bin/createdb rdfweb1 psql rdfweb1 < conf/scutterdb.sql #### FILESYSTEM / DATA CACHE mkdir -p ./webcache/_nt/ TODO: Hook up alternate backend stores, eg 3store offers a similar interface to the rubyrdf store: Usage: tstore_import [-h] [-f] [-m model-uri] ... -h show help -f flush model before asserting -l write lock tables when inserting (faster) -m set RDF model ...we should be able to wire this into the scutter, and/or other commandline interfaces.