Skip to content

neuland-ingolstadt/ersti-hilfe-kit

Repository files navigation

Digitale O-Phase

A virtual city and campus tour for freshmen at the TH Ingolstadt.

Developed by the Fachschaft Informatik in cooperation with Neuland Ingolstadt e.V.

Campustour inspired by the Fachschaft Wiwi of the University of Göttingen.

Studyguide inspired by the StuV of the OTH Regensburg.

Deployment

Deploy via Docker Compose:

version: "3"

services:
  app:
    build:
      context: ./orientierungsphase
      dockerfile: Dockerfile
    restart: always
    init: true
    environment:
      - TZ=Europe/Berlin
    networks:
      - web
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.ophase.rule=Host(`ersti.neuland.app`)"
      - "traefik.http.routers.ophase.entrypoints=https"
      - "traefik.http.routers.ophase.tls=true"
      - "traefik.http.routers.ophase.tls.certresolver=le"

networks:
  web:
    external: true

Transcoding

Transcode a folder full of videos:

for i in *.mp4; do ffmpeg -i "$i" -c:a copy -c:v libx264 -vf scale=1280:720 "../web/$i"; done

Generate poster images:

for i in *.mp4; do ffmpeg -i "$i" -vframes 1 -vf scale=1280:720 "../poster/$(basename "$i" .mp4).jpg"; done

Then add the video / poster URLs to ./data/tour.json.

License

AGPL-3.0

Important

The /data folder is not part of the AGPL-3.0 license.

About

A support page for freshmen at TH Ingolstadt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published