Built using MySQL, PHP, and Apache; containerized using Docker. This ensures a consistent development, testing, and deployment experience, no matter where it's run.
-
Navigate to the root directory of the project.
-
Create a new file named .env
-
Open the .env file in your preferred text editor.
-
Add the following variables and set their respective values: MYSQL_DATABASE=YourDatabaseName MYSQL_USER=YourMySQLUsername MYSQL_PASSWORD=YourMySQLUserPassword MYSQL_ROOT_PASSWORD=YourMySQLRootPassword
GMAIL_USER = YourGmailUsername GMAIL_PASSWORD = YourGmailPassword (must be given by gmail)
-
Replace YourDatabaseName, YourMySQLUsername, YourMySQLUserPassword, and YourMySQLRootPassword with your desired values. (Save and Close)
⚠️ Notice: The .env file contains sensitive data. Ensure it's added to your .gitignore file -
Now that you've set up the .env file, you can proceed to start your Docker container using 'docker compose build' followed by 'docker-compose up'
-
Access the index file using a webbrowser at http://localhost:8080/view/
-
Phpmyadmin can be accessed using http://localhost:8001/
⚠️ Notice: The username and password is set in the .env file