Step 1:
sudo apt-get install apache2 -y
sudo apt-get install mysql -y
sudo apt-get install python3 -y
sudo apt-get install python3-pymysql -y
Step 2:
Configure mysql and apache2.
Step 1:
sudo /etc/init.d/apache2 start
sudo /etc/init.d/mysql start
Step 2:
Connect.py
has following code:
HOST = "[::1]"
PORT = "3306"
SQL_USERNAME = "root"
SQL_PASSWORD = "myPassword"
that can be changed to match configurations from Installation step 2.
Step 3:
Create database by opening prepareDatabase.py
.
Step 4:
Create administrator account at createAccount.py
.