steps:
-
run & configure nginx
-
register pebble acme server with certbot
steps:
run & configure nginx
register pebble acme server with certbot
skip if you already have GitBash working
skip if running
convert -version
in GitBash gives you something likeVersion: ImageMagick 7.0.11-1 .....
IMPORTANT! Make sure you install a Ruby version > 2.4 and less than 3.0! Recommended is “Ruby+Devkit 2.7.3-1”. On the last step of the installation wizard, make sure to run the
ridk install
option. skip if runningruby -v
in GitBash gives you a proper version>=2.4
&< 3.0
IMPORTANT!!! About half way down one of the install option menus is a checkbox with something like “Install legacy components (convert.exe etc)”. Tick this box!!!!!!!
Steps:
git --version
docker -v
Docker version 20.10.6, build 370c289
(the messy version)
/etc/apache2/apache2.conf
. add the following lines:
# Block ip addresses in our ipblacklist.conf file
<Location />
<RequireAll>
Require all granted
Include /etc/apache2/ipblacklist.conf
for volume in ./www.nyu.edu/calabash/vol*; do | |
volume_name=$(basename $volume) | |
for pdf in $volume/*.pdf; do | |
doc_name=$(basename $pdf .pdf) | |
pdf_dir="./data/${volume_name}/pdf" | |
png_dir="./data/${volume_name}/png/${doc_name}" | |
ocr_dir="./data/${volume_name}/ocr/${doc_name}" | |
echo "converting $doc_name" | |
mkdir -p $pdf_dir $png_dir $ocr_dir |