Author: lgiessmann Date: Wed Aug 17 03:19:14 2011 New Revision: 745
Log: trunk: shell_scripts: added a simple script for loading data into the DB
Added: trunk/src/shell_scripts/fillDB.sh (contents, props changed)
Added: trunk/src/shell_scripts/fillDB.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/src/shell_scripts/fillDB.sh Wed Aug 17 03:19:14 2011 (r745) @@ -0,0 +1,9 @@ +#!/bin/bash +export LANG=de_DE.UTF-8 +cd /home/isidorus/.sbcl/site/isidorus/src +sbcl << END +(setf sb-impl::*default-external-format* :UTF-8) +(asdf:operate 'asdf:load-op 'isidorus) +(xtm-importer:setup-repository "/home/isidorus/textgrid.xtm" "/home/isidorus/data_base" :tm-id "http://textgrid.org/serviceregistry/services-tm") +(elephant:close-store) +END