A web based random MTG card game interface
| ajax | ||
| audio | ||
| core | ||
| css | ||
| img | ||
| install | ||
| js | ||
| .gitignore | ||
| .htaccess | ||
| class_image.php | ||
| config-dist.php | ||
| functions.php | ||
| header.php | ||
| htmlfooter.php | ||
| htmlheader.php | ||
| index.php | ||
| LICENSE.md | ||
| login.php | ||
| logout.php | ||
| manage.php | ||
| manifest.json | ||
| README.md | ||
| startsession.php | ||
| thumb.php | ||
MTG Random Interface
This small project provides a web based tool for running a bespoke randomized MTG card game.
This project requires
- PHP ImageMagick
Don't forget to:
- Create a MySQL/MariaDB database for the app with privileges granted to a user
create database mtgrandomcreate user 'mtgrandom'@'localhost' identified by 'password'grant all privileges on mtgrandom.* to 'mtgrandom'@'localhost'
- Import the
install/initial_db_mysql.sqldatabase structuremysql --host=localhost --user=mtgrandom -p mtgrandom < install/initial_db_mysql.sql
- Change the ownership of the
images/folder to the web server userchown :www-data imageschmod g+ws images
- Copy the
config-dist.phpfile toconfig.phpand edit that file appropriately
Usage Instructions
Should go here :)