You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simoon 467f85f293 updated index.html 2 years ago
static added images 2 years ago
templates updated index.html 2 years ago
.gitignore ignore that too and sort 2 years ago
Makefile hacking upload + generation 2 years ago very dodgy prototype 2 years ago updated 2 years ago
requirements.txt fix: use latest from git 2 years ago


An app that uses the temp-index python module.

deploy it

Install pdfcpu to /usr/bin/pdfcpu.

sudo apt-get install libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev build-essential python3-dev
sudo apt install nginx certbot python3-certbot-nginx
sudo certbot -d
server {
  listen 80;
  return 301 https://$server_name$request_uri;

server {
  listen 443 ssl;
  root /var/www/library/varia-library-website;

  ssl_certificate /etc/letsencrypt/live/;
  ssl_certificate_key /etc/letsencrypt/live/;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers HIGH:!aNULL:!MD5;

  access_log /var/log/nginx/;
  error_log /var/log/nginx/;

  error_page 404 /404.html;

  location / {
        proxy_redirect     off;

        proxy_set_header   Host                 $host;
        proxy_set_header   X-Real-IP            $remote_addr;
        proxy_set_header   X-Forwarded-For      $proxy_add_x_forwarded_for;
        proxy_set_header   X-Forwarded-Proto    $scheme;
git clone /var/www/temporary-indexing-app
cd /var/www/temporary-indexing-app

update it

tmux attach
ctrl-c ...
git pull