Docker
The recommended install is to build your own Docker image and run TextPAIR inside a container.
-
From the root of the repository, build the image:
docker build -t textpair . -
Start a container:
docker run -td -p 80:80 --name textpair textpair init_textpair_dbYou may want to customize the
runcommand to your needs, for instance to mount a volume holding your data. -
Copy your texts into the container, then follow Running an alignment from inside it.
If the web server does not respond, restart it inside the container:
/var/lib/text-pair/api_server/web_server.sh &