Como os podeis imaginar, instalamos miles de Prestashop a lo largo del año, y ya desde mucho mucho tiempo nos hemos creado un script con el cual lanzamos la instalación de un Prestashop y nos lleva entre 5 y 6 segundos, para ello usamos un comando que existe en la carpeta de Install de Prestashop, en el cual dandole parametros nos instala el Prestashop con todos los datos pertienentes:
php index_cli.php --domain=example.com --db_server=sql.example.com --db_name=prestashop --db_user=root --db_password=123456789
Con este comando y una versión que nos hemos descargado ya tenemos un prestashop listo para nuestras pruebas, estos son todos los parametros que soporta la utilidad de linea de comandos de Prestashop:
|
Name
|
Default setting
|
Description
|
|---|---|---|
| –step | process | |
| –language | en | language iso code |
| –timezone | localhost | |
| –domain | localhost | |
| –db_server | localhost | |
| –db_user | root | |
| –db_password | (blank) | |
| –db_name | prestashop | |
| –db_clear | 1 (true) | Drop existing tables |
| –db_create | 0 (false) | Create the database if it does not exist yet |
| –prefix | ps_ | |
| –engine | InnoDB | InnoDB/MyISAM |
| –name | PrestaShop | Name of the shop |
| –activity | 0 | |
| –country | fr | |
| –firstname | John | |
| –lastname | Doe | |
| –password | 0123456789 | |
| pub@prestashop.com | ||
| –license | 0 (false) | Show PrestaShop’s license |
| –newsletter | 1 (true) | Subscribe administrator to PrestaShop’s newsletter |
| –send_email | 1 (true) | Send an email to the administrator after installation |
En esta página podeis ver todos la información oficial de Prestashop:
http://doc.prestashop.com/display/PS16/Installing+PrestaShop+using+the+command-line+script
Espero que lo useis tanto como lo hacemos nosotros. Es super útil.

Tienda Informax
Gestion de Tickets


