XTF_exercise_Windows/ or
XTF_exercise_Mac_Linux.tgz as appropriate from the
Transforming_and_Publishing_TEI_day_3-selected/
directory on a USB stick; for Mac or GNU/Linux you’ll need to
expand the compressed archive file (typically by
double-clicking it)cmdPrompt.command (Mac or
Linux) or cmdPrompt.bat (Windows)chmod a+x textIndexer tomcat/bin/* tomcat/webapps/xtf/bin/textIndexer
./textIndexer -index default
This makes XTF aware of the XML files that are in its data
folder, XTF_exercise/tomcat/webapps/xtf/data/
(we’ve preloaded this with 100 articles from Digital
Humanities Quarterly). You’ll know the indexing process is
done when the command window says “Indexing complete.”tomcat.command (Mac or
Linux) or tomcat.bat (Windows). You’ll know this
process is complete when the tomcat window says “INFO: server
startup in NUM ms”
http://localhost:8080/xtf/search
If you get an XTF browser interface, things are going well!XTF_exercise/tomcat/webapps/xtf/data/.
You’ll see a list of files with names like 000001.xml (these are
DHQ articles).control-c (??)./textIndexer -index default
http://localhost:8080/xtf/searchhttp://localhost:8080/xtf/search, try restarting
tomcat (step 4 above)A full XTF tutorial with step-by-step exercises is available at http://xtf.cdlib.org/getting-started-tutorials/. Note that all the filepaths mentioned in the tutorial start at XTF_HOME, which is equivalent to the XTF_exercise_Windows/tomcat/webapps/xtf/ directory in our self-contained XTF Workshop installation.
Full XTF documentation (aimed at a fairly advanced audience) is available at http://xtf.cdlib.org/documentation/ (same proviso as above).