This folder contains the fixed SchoolMate application.
You can run the application using Docker Compose:
docker-compose build
docker-compose upDocker Compose will build and run 2 containers, one running PHP to serve the application, the second running MySQL. The MySQL database is properly initialized with the scripts contained in the database folder.
The application will be available on port 2002.
The default credentials for the admin user are test:test.
If you need to access the database, you can access it on port 3308 using the credentials root:password.
To stop the application, simply press Ctrl+C.
To start with a fresh application, simply run the following commands:
docker-compose rm -f
docker-compose build
docker-compose upThis will destroy the existing Docker containers, re-build the images and start the containers again.