25 lines
833 B
Markdown
25 lines
833 B
Markdown
# 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 mtgrandom`
|
|
* `create user 'mtgrandom'@'localhost' identified by 'password'`
|
|
* `grant all privileges on mtgrandom.* to 'mtgrandom'@'localhost'`
|
|
* Import the `install/initial_db_mysql.sql` database structure
|
|
* `mysql --host=localhost --user=mtgrandom -p mtgrandom < install/initial_db_mysql.sql`
|
|
* Change the ownership of the `images/` folder to the web server user
|
|
* `chown :www-data images`
|
|
* `chmod g+ws images`
|
|
* Copy the `config-dist.php` file to `config.php` and edit that file appropriately
|
|
|
|
## Usage Instructions
|
|
|
|
Should go here :)
|