Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
Tests determine the quality of a software. This process involves evaluating information that is related to a shop.
To make testing easier, we provide a Vagrant configuration designed for testing branches and pull requests.
First of all you need two tools to run this project:
If you’re using Windows, we recommend you to download Git bash and execute all commands under this shell.
We use Vagrant because of its flexibility and portability. With it, you can control every aspect of the machine, and help us by having a similar environment to reproduce issues.
The process is pretty simple.
First, you must clone the repository https://github.com/PrestaShop/vagrant.
Second, execute the script run.sh
(or run.bat
if you’re under Windows) and follow instructions.
Most of the time, there is a prompt asking for a network interface, remember it’s the communication between the virtual machine and the network card.
The first installation will take a while, because it needs to download the vagrant box, installs all needed packages and configures the system to make it compatible with PrestaShop.
Then, visit http://192.168.42.42/prestashop.
phpMyAdmin is also available at http://192.168.42.42/phpmyadmin.
[email protected]
prestashop_demo
phpMyAdmin is available at http://192.168.42.42/phpmyadmin.
127.0.0.1
prestashop
prestashop
prestashop
3306
You can login into the virtual machine with vagrant ssh
If something went wrong during the installation, the error is displayed explaining which command is failing.
Invalid branch name:
Invalid PHP version: