Skip to content

Commit

Permalink
fix the installation on Ubuntu docker images and update Pipfile lock
Browse files Browse the repository at this point in the history
  • Loading branch information
baxtree committed Oct 5, 2020
1 parent a564fd5 commit 8750f25
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 41 deletions.
40 changes: 20 additions & 20 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ $ pip install subaligner
```
or
```
# Install via pipx
pipx install subaligner
```
or
```
# Install from GitHub via Pipenv
...
[packages]
Expand Down Expand Up @@ -67,13 +62,6 @@ or
$ subaligner -m single -v video.mp4 -s subtitle.srt
$ subaligner -m dual -v video.mp4 -s subtitle.srt
```
```
# Run alignments with pipx
$ pipx run subaligner -m single -v video.mp4 -s subtitle.srt
$ pipx run subaligner -m dual -v video.mp4 -s subtitle.srt
```
```
# Run the module as a script
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-Ubuntu18
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Subaligner Ubuntu 18 Docker Image
FROM ubuntu:18.04

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/London
RUN apt-get -y update &&\
apt-get -y install ffmpeg &&\
apt-get -y install espeak libespeak1 libespeak-dev espeak-data &&\
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-Ubuntu19
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Subaligner Ubuntu 19 Docker Image
FROM ubuntu:19.10

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/London
RUN apt-get -y update &&\
apt-get -y install ffmpeg &&\
apt-get -y install espeak libespeak1 libespeak-dev espeak-data &&\
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-Ubuntu20
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Subaligner Ubuntu 20 Docker Image
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/London
RUN apt-get -y update &&\
apt-get -y install ffmpeg &&\
apt-get -y install espeak libespeak1 libespeak-dev espeak-data &&\
Expand Down
4 changes: 0 additions & 4 deletions site/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ Installation
$ pip install numpy
$ pip install subaligner

**Install Subaligner via pipx**::

$ pipx install subaligner

**Install from GitHub via Pipenv**::

...
Expand Down
5 changes: 0 additions & 5 deletions site/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Make sure you have got the virtual environment activated upfront.
$ docker run -v `pwd`:`pwd` -w `pwd` -it baxtree/subaligner subaligner_1pass -v video.mp4 -s subtitle.srt
$ docker run -v `pwd`:`pwd` -w `pwd` -it baxtree/subaligner subaligner_2pass -v video.mp4 -s subtitle.srt

**Run alignments with pipx**::

$ pipx run subaligner -m single -v video.mp4 -s subtitle.srt
$ pipx run subaligner -m dual -v video.mp4 -s subtitle.srt

**Run the module as a script**::

$ python -m subaligner -m single -v video.mp4 -s subtitle.srt
Expand Down

0 comments on commit 8750f25

Please sign in to comment.