Chris@0: #!/usr/local/bin/swipl Chris@0: Chris@0: :- assertz(file_search_path(cliopatria, '/var/www/sites/ClioPatria')). Chris@0: Chris@0: :- use_module(library(http/http_unix_daemon)). Chris@21: :- use_module(library(http/http_log)). Chris@0: :- use_module(cliopatria(cliopatria)). Chris@0: Chris@0: :- rdf_db:rdf_load('static-rdf/jamendo.rdf'). Chris@0: :- rdf_db:rdf_load('static-rdf/mbz_jamendo.rdf'). Chris@0: Chris@5: :- set_setting_default(http:prefix, '/jamendo/cliopatria'). Chris@21: :- set_setting_default(http:logfile, 'server.log'). Chris@26: :- set_setting_default(http:cors, [*]). Chris@5: Chris@0: :- http_daemon([port(2105), fork(false)]). Chris@0: