Database Setup (Required)¶
Choose one of the following methods to set up your database:
Method 1: XAMPP¶
Downloading and Installing XAMPP¶
- Visit the official XAMPP website: XAMPP
- Download and install XAMPP for your operating system
- Start XAMPP Control Panel
- Start Apache and MySQL services
Configuring Database¶
- Access phpMyAdmin: phpMyAdmin
- Create a new database named "itp4915m_se1d_group4"
- Import your SQL scripts to set up the database structure
Method 2: Docker¶
Downloading and Installing Docker¶
- Visit Docker Desktop
- Download and install Docker Desktop for your operating system
- Start Docker Desktop
Configuring Docker for Your Database¶
- Create a
docker-compose.yml
file in your project root:
version: '3'
services:
db:
image: mariadb:10.5
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: itp4915m_se1d_group4
ports:
- "3306:3306"
volumes:
- ./sql-scripts:/docker-entrypoint-initdb.d
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
environment:
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: rootpassword
- Place your SQL scripts in a folder named
sql-scripts
in your project directory - Open a terminal/command prompt in your project directory
- Run
docker-compose up -d
- Access phpMyAdmin at phpMyAdmin Docker to manage your database