How to Install

How to install Community System

First-time Install

  1. Upload the contents of the downloaded folder into the root directory of your domain. This file will include an index.php, config.php, and uploadme.sql file.
  2. Go to your webpanel (cPanel, CentOS Web Panel, or DirectAdmin) and create a new database. Make sure to keep track of the database name, database username, and user password.
  3. Enter into that database and insert the provided SQL file.
  4. Visit here and complete the following steps:
    • Create a new application
    • Visit the OAuth2 tab on the left hand side
    • Add the following redirect. Replace yourdomain.tld with your domain.
    • yourdomain.tld/auth/discord/callback
  5. Go back to where you uploaded the files and edit the config.php file to include the following information
    • Edit the $database variable.
      • Set the 'host' key to be that of your database host (in most cases, it's just 'localhost').
      • Set the 'user' key to be the username of the user to access the database.
      • Set the 'password' key to be the password of the user.
      • set the 'name' key to be the name of the database.
    • Edit the $information variable.
      • Set the 'fontAwesomeKit' key to be that of a FontAwesome kit ID (they can be created here).
      • Set the 'buttons' key to have the links of your the respective buttons.
      • Set the 'admins' key to be an array of Discord IDs for users you want to be administrators.
    • Edit the $discord variable.
      • Set the 'client' key to include the Discord secret from the application created in step #4.
      • Set the 'secret' key to include the Discord secret from the application created in step #4.
    • Edit the $stripe variable.
      • Set the 'enabled' key to true or false (true to enable the module, false to disable it).
      • Set the 'public' key to be your Stripe public key. Please visit here to create one.
      • Set the 'secret' key to be your Stripe secret key (created above).
      • Set the 'code' key to be your Stripe currency code.
  6. Go to yourdomain.tld/admin, and you'll have admin access.