This repository provides a ready-to-use Docker setup for PrestaShop with MySQL. Follow the steps below to clone the repository and initialize PrestaShop with predefined settings.
- Docker
- Docker Compose
git clone git@github.com:ICT-BLJ/presta-test.git
cd presta-testdocker-compose up -dThis will start MySQL and PrestaShop containers.
Once the containers are running, open a web browser and go to:
http://localhost:8080
Follow the installation steps with the predefined values:
- Accept the Terms and Conditions
- Shop Name: ZLI TestShop
- Activity: Other
- Country: Switzerland
- Enable SSL: No
- First Name: ZLI
- Last Name: Admin
- Email: test@zli-testshop.ch
- Password: Zli_12345!
- Database Server Address: db
- Database Name: prestashop
- Database User: prestashop
- Database Password: prestashop
- Table Prefix: ps_
- Drop Existing Tables: Checked
Click on Install and wait for the process to complete.
After the installation, remove the install folder inside the PrestaShop container to prevent security risks:
docker exec -it prestashop_app rm -rf /var/www/html/installOnce the installation is complete, access the admin panel:
http://localhost:8080/admin
Login with the credentials set during installation:
- Email: test@zli-testshop.ch
- Password: Zli_12345!
- If you encounter database connection issues, ensure MySQL is running properly by checking logs:
docker logs prestashop_db- Restart the setup if needed:
docker-compose down -v && docker-compose up -dEnjoy your PrestaShop installation! 🚀