Overview Store Template v2 Bot Store Template v2 Application Template PayPal Template Documentation Client Area Store Template

Store Template v2

Server Setup

Store Template v2 runs on PHP and utilizes Apache to create redirects needed to for the practical functionality of the store system. With this, users have two options on how to install Store Template v2. Firstly, users can use some sort of website/shared hosting (I recommend Hosturly) to host Store Template v2. The second option is to setup a LAMP stack and setup Store Template v2 here. In this section, we'll talk about how to install the LAMP stack and setup your domain.

Prerequisites
Before starting the LAMP install, we need to make sure that you meet all of the requirements needed. Firstly, you need to own a domain. I recommend Namecheap due to their fair pricing and ability to setup DNS records without needing to use Nameservers. Secondly, you need to be running on some sort of Linux distro. This can be through a VPS or a dedicated server. In this guide, we're going to follow the directions to create a LAMP stack on a Debian-based distro (in this particular case, Ubuntu 20.04).

Domain Setup
  1. Go to your domain inside of Namecheap and click "Manage".
  2. Make sure your Nameservers are set to "Namecheap Basic DNS".
  3. Click "Advanced DNS".
  4. Click "Add New Record" and select "A Record".
  5. Set your host to whatever your domain is (if you just want to use your main domain, just put '@') and set the IP address to the IP of your server.
  6. Click the little green checkmark.

Apache Install
This install guide was created using the steps provided by Digital Ocean here
  1. Run the following commands (in order):
sudo apt update
sudo ufw allow 80
sudo apt install apache2

MySQL Install
  1. Run the following commands (in order):
sudo apt install mysql-server
sudo mysql_secure_installation
  1. On the MySQL installation, enter 'y' for all questions

PHP Install
  1. Run the following commands (in order):
sudo apt install php libapache2-mod-php php-mysql