Chris@7: #!/usr/local/bin/swipl Chris@7: Chris@7: :- assertz(file_search_path(cliopatria, '/var/www/sites/ClioPatria')). Chris@7: Chris@7: :- use_module(library(http/http_unix_daemon)). Chris@21: :- use_module(library(http/http_log)). Chris@7: :- use_module(cliopatria(cliopatria)). Chris@7: Chris@7: :- rdf_db:rdf_load('static-rdf/peel.rdf'). Chris@7: :- rdf_db:rdf_load('static-rdf/dbpedia-johnpeel/dbpedia-johnpeel-agents.rdf'). Chris@7: :- rdf_db:rdf_load('static-rdf/dbpedia-johnpeel/dbpedia-johnpeel-works.rdf'). Chris@7: Chris@7: :- set_setting_default(http:prefix, '/bbc/peel/cliopatria'). Chris@21: :- set_setting_default(http:logfile, 'server.log'). Chris@26: :- set_setting_default(http:cors, [*]). Chris@7: Chris@7: :- http_daemon([port(3030), fork(false)]). Chris@7: