DiplomGenerator/README.md
2023-10-16 15:07:43 +00:00

18 lines
823 B
Markdown

# 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](https://github.com/php-imagine/Imagine#requirements)
- [composer](https://getcomposer.org/)
- 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`.