.docker | ||
templates | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
docker-compose.yml | ||
Dockerfile | ||
generate.php | ||
index.html | ||
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
- Note that on Debian at least, you may need to enable
- On Debian/Ubuntu: Install the
Then simply run: composer install
and point your PHP-configured web server to the same directory as index.html
.