Product Documentation
Basic Downloads was a web-application that allowed an administrator to upload files to the website and assign them to user accounts allowing them to be downloaded by clients at any time.
Basic Downloads is no longer sold or supported. This is a legacy page for the setup process of the application.
Web-Service or Linux Server
Nginx, Apache2 or another web-server
At least PHP 7 or above
MySQL Server
A domain
These two guides below can assist with installing some of the requirements
Setting up Basic Downloads only requires some steps to be followed.
Simply move the files from the download into a folder for your website. Common locations include /downloads or just in the root directory.
NOTE: Some systems require permissions to upload files to directories. We suggest running the below commands in a terminal replacing the directory to represent your store.
[UBUNTU COMMANDS]
sudo chown -R www-data:www-data /var/www/basicdownloads
sudo chown -R www-data:www-data /var/www/basicdownloads/filesThese commands give the webserver ownership over the files to allow us to manage files from the site.
If you are using a different database name then the one listed below, make sure to edit the commands below to your actual database information to reduce errors.
Extract the installme.sql file and place into the /root folder of your server and open and login to your MySQL terminal via SSH. Try use this command to login; mysql -u root -p If you don't have a root password just press enter.
You will need to create the database itself. To do this run the below code in your SQL terminal. For the purposes of this guide the database name will be basicdownloads but you can change that to whatever you like.
CREATE DATABASE basicdownloads CHARACTER SET utf8;This creates the database basicdownloads with UTF8 character format. Now run
use basicdownloads;To make us use the correct database.
source installme.sql;This executes the installme.sql that we put into our /root folder before. Now your database should be installed and imported. Double check this by doing use basicdownloads; and then SHOW TABLES;.
To set up Discord OAuth2 head to the Discord developer portal and create an application for your store. Once you have created an application for your store go to the OAuth2 tab on the left side and add a redirect and write https://mydomain.com. Make sure there is no trailing / this should be the same as your link to your store. So make sure to replicate that. Make sure the directory (like /downloads) is added into the above if you have one.
Now edit the config.php file and edit to include the information from prior steps and too your liking.
Configuration Options:
Name | Description | Type |
|---|---|---|
| The display name for the website. | |
| Discord user IDs with admin permissions. |
This page was imported from our Legacy documentation platform. It was originally published in 2021