Go to file
Alex Thomassen 995fe40f0f
fuck deg Stian
2023-10-16 15:28:09 +00:00
.docker Add link on homepage, tweak NGINX config 2023-10-16 15:21:42 +00:00
templates Initial commit 2023-10-16 15:07:43 +00:00
.dockerignore Initial commit 2023-10-16 15:07:43 +00:00
.editorconfig Initial commit 2023-10-16 15:07:43 +00:00
.env.example Initial commit 2023-10-16 15:07:43 +00:00
.gitignore Initial commit 2023-10-16 15:07:43 +00:00
Dockerfile Initial commit 2023-10-16 15:07:43 +00:00
README.md Initial commit 2023-10-16 15:07:43 +00:00
composer.json Initial commit 2023-10-16 15:07:43 +00:00
composer.lock Initial commit 2023-10-16 15:07:43 +00:00
docker-compose.yml Initial commit 2023-10-16 15:07:43 +00:00
generate.php mordi 2023-10-16 15:26:50 +00:00
index.html fuck deg Stian 2023-10-16 15:28:09 +00:00

README.md

DiplomGenerator

A crappy generator written just because I got tired of having to wait for Photoshop to launch every time.

Requirements

If you don't want to just docker-compose up -d and be done with it, you'll need:

  • php 8.1
    • Probably works on 8.0 and 7.4 too, but idk haven't tested
  • gd extension for PHP, as required by Imagine
  • composer
  • A font location. By default we use Comic Sans MS, which needs to be installed on your system.
    • On Debian/Ubuntu: Install the ttf-mscorefonts-installer package
      • Note that on Debian at least, you may need to enable contrib in your sources.list

Then simply run: composer install and point your PHP-configured web server to the same directory as index.html.