DuckID is an Ticket System which uses Discord as an Login Method.
(Tested on Debian 10 and XAMPP - Windows 10)
- PHP 7.3
- Apache 2.4
- MySQL
- phpMyAdmin
The setup ist pretty easy. Just follow the following steps:
Import the setup/tables.sql
File into phpMyAdmin
Head over to the api/inc/db.inc.php
File and fill in the variables with the real values for your Database Connection
$db
: Name of the Database$db_username
: Your username for mysql$db_password
: Your password for mysql$db_host
: Host of your mysql database (usuallylocalhost
)
Head over to the api/inc/discord.inc.php
File and fill in the OAUTH2_CLIENT_ID
, OAUTH2_CLIENT_SECRET
and OAUTH_REDIRECT_URI
Variables from
the Discord Developers Page!
The OAUTH_REDIRECT_URI
should be like this: http://[domain]/api/handling/discord_login.php?discord=true
Register on the Page, go to phpMyAdmin's users
Table and change your status to admin
You are ready to go!
If you encounter any bugs or need help, please open an issue.