Step 1 - Requirements ¶
(Web-)Server to host the site
Nginx, Apache or similar web-server software
PHP 7.0+ installed
If you don't have any of the above, it's okay, that's also in the guide!
Step 2 - File Management ¶
Simply move the files from the download into the root folder of your website.
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/faxStore sudo chown -R www-data:www-data /var/www/faxStore/assets sudo chown -R www-data:www-data /var/www/faxStore/assets/gallery
Step 3 - SQL Database ¶
FaxStore requires a database to be created.
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
faxStoreDB but you can change that to whatever you like.
CREATE DATABASE faxStoreDB CHARACTER SET utf8;
This creates the database
faxStoreDB with UTF8 character format. Now run
To make us use the correct database.
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 faxStoreDB and then
SHOW TABLES;, this should display something like the below image.
Step 4 - Setting Up Discord OAuth2 ¶
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/admin. Make sure there is no trailing
/ this should be the same as your link to your store. So make sure to replicate that.
Step 5 - Configuration ¶
Now edit the
config.php file and edit to include the information from prior steps and too your liking.
Was this article helpful?
116 out of 241 found this helpful