Repository navigation
Home
Peter Mangiafico edited this page Dec 16, 2024
·
7 revisions
Welcome to the speech-to-text wiki!
This will become deprecated at some point. Info as of Dec 16 2024
- Find IP address for EC2 instance. It is pinned in slack in #dlss-text-extraction channel.
- SSH into instance. You will need your public SSH key placed on the server for authentication. Ask for help if needed.
- speech-to-text repo has been cloned on the instance. It is in the
speech-to-textfolder. - The
.envfiles are placed on the server with specific configuration. - The code is updated from Github via a
git pull. - If you need to build an updated container, look in history for
docker buildcommand in order to build the updated container. Command isdocker build --tag sul-speech-to-text .Note that you must be in thespeech-to-textfolder to build the image. - Building the container may take a while.
-
docker imagesshows the built images -
docker psshows the running images with container IDs -
docker logs <CONTAINER ID>shows the logs from the running container. Add a--followto follow the logs. -
docker stop <CONTAINER ID>to force stop it from running. -
docker rmi <IMAGE ID>to remove old images to save space. You may need to remove the container first withdocker rm <CONTAINER ID>.docker ps -ato see containers. -
docker run --rm --detach --env-file .env.qa --gpus all sul-speech-to-textto start it up again.