Provides an automated method to upgrade your shop to the latest version of PrestaShop. This module is compatible with all PrestaShop 1.6 & 1.7.
- PrestaShop 1.6 or 1.7
- PHP 5.6
You must have composer installed on your computer. Then, execute:
$ composer install
Upgrading a shop can be done via:
- the configuration page of the module (access from your BO module page)
- in command line by calling the file cli-upgrade.php
Upgrade can be automated by calling cli-upgrade.php. The following parameters are mandatory:
- --dir: Tells where the admin directory is.
- --channel: Selects what upgrade to run (minor, major etc.)
$ php cli-upgrade.php --dir=admin-dev --channel=major
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
Contributors must follow the following rules:
- Make your Pull Request on the "dev" branch, NOT the "master" branch.
- Do not update the module's version number.
- Follow the coding standards.
Contributors wishing to edit a module's files should follow the following process:
- Create your GitHub account, if you do not have one already.
- Fork the autoupgrade project to your GitHub account.
- Clone your fork to your local machine in the
/modules
directory of your PrestaShop installation. - Create a branch in your local clone of the module for your changes.
- Change the files in your branch. Be sure to follow the coding standards!
- Push your changed branch to your fork in your GitHub account.
- Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the commit message norm in your pull request. If you need help to make a pull request, read the Github help page about creating pull requests.
- Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!