Child pages
  • Instalación de PrestaShop en su ordenador
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Instalación de PrestaShop en su ordenador

Es posible que desee instalar PrestaShop en su equipo local, ya sea con el fin de probarlo antes de invertir dinero en un servidor y en un nombre de dominio, o para personalizar su tienda localmente antes de subir sus modificaciones a otra instalación de PrestaShop que ya tenga instalada y funcionando en su alojamiento web.

La instalación de cualquier aplicación web a nivel local requiere primeramente de la instalación del entorno   adecuado, esto es: el servidor web Apache, el intérprete del lenguaje PHP, el servidor de base de datos MySQL, e idealmente la herramienta phpMyAdmin. Este conjunto de herramientras es conocido con el acrónimo de   AMP: Apache+MySQL+PHP. Éste existe para muchos sistemas operativos, lo que proporciona la adición de otra letra al acrónimo: WAMP (Windows+Apache+MySQL+PHP), MAMP (Mac OS X+...) y LAMP (Linux+...).

Elegir un paquete AMP

Tendría que sumergirse en un trabajo que requiere de formación bastante técnica para poder instalar todas las herramientas comentadas en la sección anterior; afortunadamente existen muchos paquetes pre-construidos que puede instalar fácilmente y que le proporcionan todo lo que necesita. Éstos no le impedirá tener que ahondar en la técnica, pero le serán de gran ayuda. Dado que todos los elementos empaquetados son de código abierto, estos instaladores son en la mayoría de ocasiones gratuitos. He aquí una selección de instaladores AMP gratuitos:

EasyPHP has a special all-in-one package, which includes a ready-to-use installation of PrestaShop 1.6! It is the easiest way to discover the new version of PrestaShop and, for developers, to develop themes and modules.

Download it here: http://www.easyphp.org/prestashop.php

Choose the package that you feel the most comfortable with, launch it,

Checking that everything works

Before going on with this PrestaShop installation tutorial, make sure that all the components of your AMP package do work:

  • The web server should be up and running. You should be able to access it through your browser, by typing "127.0.0.1" in the address bar.

    http://127.0.0.1 is the "localhost", meaning "your computer": it is a loopback address which directs the browser to your local web server.
    In effect, http://127.0.0.1 and http://localhost are synonymous: you can use one or the other interchangeably, both send you to the root folder of your local web server.

    Some web servers might not be able to start because their connexion ports (typically, port 80) are already used by another application.

    This often happens when Skype is used. To stop Skype from preventing your local web server to run, go into the Skype advanced settings (Tools > Options > Advanced > Connections) and uncheck the "Use port 80 and 443 as alternatives" option. Restart Skype, and start your local web server again.

  • The database server should be up and running. MySQL is where all of PrestaShop's data is stored. The AMP package should provide you with a clear indicator whether MySQL is running or not.
  • The phpMyAdmin tool should be accessible. This is the web application that helps you handle data stored in MySQL. Its location depends on which AMP packaging you chose: it can be found at http://127.0.0.1/phpmyadmin (XAMPP, WampServer, MAMP), http://127.0.0.1/mysql (EasyPHP), or maybe at another location. Check your package's documentation – it might even provide a phpMyAdmin button of sort that would open the correct URL in your browser.

Finding the root folder of the local web server

Once you have checked that the package is correctly installed and that all of its parts are running, you need to find the root folder of your local web server.

That is the local folder where you will place your application's files, and can be compared to the root folder of your online server, only its content is accessed with http://127.0.0.1.

The actual local location of the folder depends greatly on the AMP package, and can be customized:

  • EasyPHP: C:\easyphp\www
  • MAMP: /Applications/MAMP/htdocs/
  • WampServer: C:\wamp\www
  • XAMPP: C:\xampp\htdocs or /Applications/xampp/htdocs

Finding the MySQL user information

Finally, you need to know the root user name and password for MySQL, in order to install PrestaShop.

Most packages use the user name "root" with an empty password, including EasyPHP, MAMP, WampServer and XAMPP.

Read your package's documentation.

Final note before the installation tutorial

With all that clear and done, you can follow up on the rest of this Getting Started guide and start installing PrestaShop.

When you install PrestaShop locally, keeping in mind that:

Have you read everything? Now follow the regular installation guide, starting directly at the "Creating a database for your shop" section: Installing PrestaShop.

  • No labels