Prestashop tutorial Localhost installation

Transcription

Prestashop tutorial Localhost installation
Prestashop tutorial
Localhost installation
Thodoris Apostolatos
Email: tapostolatos@aegean.gr
Step 1
xampp installation
Installing xampp
Choose the right version (windows installer)
Installing xampp (2)
• Run the downloaded file
• Confirm the following
notification
(optional)
Don’t worry, it won’t
destroy your pc!
Note:
You may need to update
your windows installation
(please, follow the displayed
guide, download and install
the missing updates)
Installing xampp (3)
Follow the
installation
guide
You should not
change the
default settings
Step 2
Xampp Configuration
Xampp configuration
The following step is required in order to make possible to
accept incoming requests from external users.
Search for the following path:
C:\xampp\apache\conf\extra\httpd-xampp.conf
Open the
httpd-xampp.conf
file, using the
notepad (or other
word processing
application)
Xampp configuration(2)
The latest xampp lersion has adopted new security rules and
policies
1. Locate the “New Xampp Security concept” and Delete it
2. Save the file and close it
Xampp configuration (3)
Open the xampp control panel, choose
config and select autostart the
following:
• Apache
• MySQL
• FileZilla
Testing Xampp
If there is no problem, we should:
•
See 3 green indicators
•
When you type “localhost” at the address bar of your
browser, you should see the start-page af xampp
Congratulations, your host is ready!
Testing Xampp (2)
Test your ip, like
http://83.212.112.219/xampp
If you have any problem
Restart xampp control panel
Don’t forget!
Apache (xampp’s application)
uses port 80!
Skype uses port 80 too! (open
xampp first)
Step 3
Prestashop installation
Moving Prestashop folder
Extract prestashop forder
and move it to xampp
public location on hdd
• C:/xampp/htdocs
• Rename the folder (give
your eshop name eg.
mps1)
Remember:
Paid webhosts, use FTP program to upload a folder, or
upload the zipped folder and unzip it (if supported)
Starting installation
• Open a browser and use your ip\mps1 or localhost\mps1
(mps1 is the renamed folder)
• Begin the installation
License Agreements
Name your eshop
Choose your country (local
language will be installed
automatically)
Fill your credentials
Create Database
Paid webhost: use your
host name
Name your database,
eg mps1
Test your database connection
Attemp to create the database
Be patient, it’s almost done
Delete install folder
(c:\xampp\htdocs\mps1)
Be careful!!!
Installation has renamed the admin
folder. Check your admin folder and
use its name, eg
83.212.112.219/mps1/admin311ipjka8
Admin mode
User mode
Step 4
Database configuration
Go to PhpMyAdmin (eg http://83.212.112.219/phpmyadmin)
Open your database, open
ps_configuration table and edit
PS_SHOP_DOMAIN
and
PS_SHOP_DOMAIN_SSL
and
replace the current domain
localhost with the new
83.212.112.219
Change ps_shop_url table and edit the domain and domain_ssl
columns and replace the current localhost with the new
83.212.112.219
Go at BackOffice -> Preferences -> SEO & URLs and click [Save] - this
will regenerate your .htaccess file and will add the /myProject/ where
needed
Enjoy your new eshop!