DiplomGenerator/README.md

18 lines
823 B
Markdown
Raw Normal View History

2023-10-16 17:07:43 +02:00
# 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`.