-
Notifications
You must be signed in to change notification settings - Fork 0
Dockerized TPC Documentation
goldturtle edited this page Jan 9, 2021
·
42 revisions
- Clone the libtpc repository.
- Entering the libtpc directory, Change to the branch hmm.
- Build the image.
docker build --no-cache -t ubuntu-tpc-hmm .
- Clone the docker-tpc-hmm repository.
- Clone the textpressocentral, tpctools and textpressoapi repositories. For all three repositories, switch to branch hmm.
- Entering the docker-tpc-hmm directory, build the tpc-full-hmm image.
docker build -f Dockerfile-full -t tpc-hmm-full .
- Edit build-lite.sh to point to the correct directories for the cloned repositories textpressocentral, tpctool and textpressoapi.
- Build the tpc-lite-hmm image
./build-lite.sh tpc-lite-hmm .
- Enter the docker-tpc-hmm directory
- Edit run_tpc_full.sh to point to the correct directories for the cloned repositories textpressocentral, tpctool and textpressoapi.
- Start the instance by typing
./run_tpc_full.sh <data directory> <port for website> <port for api>
© 2024 Hans-Michael Müller