B-Editor is the browser based tool for alignment texts in two different languages.
10K+
This repository provides a fast possibility to launch B-Editor with its dependencies without web-server setup. For more information, visit corresponding GitHub pages:
Place the TXT files to be aligned in a particular directory and assign read-write permissions to the www-data group for them as follows:
sudo chgrp www-data *.txt && chmod g+rw *.txt
Add all necessary subdirectories to the working directory to enable full functionality:
mkdir bookmarks covers illustrations saved
Create a one-time container to run B-Editor. Mount your working directory with TXT files to the /var/www/html/books/ path inside the container as follows:
docker run --rm -p 8080:80 --mount type=bind,src="$(pwd)",dst=/var/www/html/books/ b-editor
Once container is launched, B-Editor web-application is available locally in your browser via http://localhost:8080/b-editor/. All the changes in TXT files are saved on your host computer after container turned off.
The minimum Dockerfile for this image looks as follows:
FROM php:7.4-apache
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/bilinguator/b-editor.git /var/www/html/b-editor \
&& git clone https://github.com/bilinguator/print-bilingual-pdf.git /var/www/html/b-editor/print-bilingual-pdf \
&& git clone https://github.com/bilinguator/bilingual-formats.git /var/www/html/b-editor/bilingual-formats
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
EXPOSE 80
Content type
Image
Digest
sha256:7f4455f54…
Size
203.8 MB
Last updated
over 1 year ago
docker pull bilinguator/b-editor