-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Magento 2 Theme Design
By :

Before we get started with customizing the look and feel of our Magento store, you will need to install Magento 2.
There are great options in the market to help us create the local development environment to work with Magento 2:
You can feel free to choose your option to use as a solution. In this book, will be suggesting using of XAMPP.
XAMPP is a complete web development environment. In its install package you can find Apache, MySQL, PHP, and Perl: everything that you want to develop your solutions.
You may be able to guess the meaning of XAMPP, but the X before the AMPP means cross or cross-platform. So, we have: Cross-platform, Apache, Maria DB, PHP, and Perl.
The goal of XAMPP is to build an easy-to-install distribution for developers to get into the world of Apache. XAMPP is a project of Apache Friends, a non-profit project to promote Apache Web Server.
But why are we working with this software? Let's find out:
So far so good, but how about doing some action?
First of all, let's access the XAMPP website at its URL, https://www.apachefriends.org :
XAMPP has three distinct versions for different operating systems (OSes): Windows, Linux, and OS X. Choose your preferred version to download and start the installation process.
XAMPP for Windows has three different kinds of installation files:
The Installer (.exe
) is the most popular process to install. Please download it and execute to start the installation process:
The following are the installation steps of XAMPP:
xampp-control.exe
and start the Apache Web Server.http://localhost
in your favorite web browser. You should see the XAMPP start page:
XAMPP for Linux has two main versions of the installation file:
Choose the file according to your architecture and follow these steps:
chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run
XAMPP is now installed in the /opt/lampp
directory.
To start XAMPP, execute this command in the terminal:
sudo /opt/lampp/lampp start
To test if everything is working, type http://localhost
in your favorite web browser and you should see the XAMPP start page:
To install XAMPP for OS X you simply follow these steps:
DMG-Image
file.http://localhost
in your favorite web browser. You should see the XAMPP start page:
The XAMPP htdocs
directory is the docroot
folder of your server. Everything that you save in the htdocs
folder, you can access via the browser. For example, if you save index.php
inside htdocs
, you can access this script by entering this URL: http://localhost/index.php
. If you save your file in the packt
directory, you can access it by going to http://localhost/packt/index.php
. Piece of cake!
First of all, we need to create a user on the Magento website (http://www.magento.com). To download Magento 2 Community Edition, click on My Account, and after clicking the button labeled Register, fill in the form and confirm your registration.
Once registered, you will be able to download Magento 2. Access the Products menu, Open Source/CE, and finally View Available Downloads (https://www.magentocommerce.com/download):
On this page, we have three important options:
Please choose Full Release with Sample Data to download. Extract the compressed files in the XAMPP htdocs
directory and rename the new directory packt
.
Remember to start the Apache and MySQL services on the XAMPP panel before the installation of Magento 2.
Before we start our Magento installation, we'll need to create a new MySQL database instance to store the Magento data. phpMyAdmin is a MySQL web app to manage your database:
http://localhost/phpmyadmin/
.packt
, as shown in the following screenshot:
http://localhost/packt/setup
, to start the Magento installation.By this point, you can see this installation page on your browser:
Let's start Magento installation by following these steps:
admin_packt
.After following these steps, you have Magento 2 running! You can access your new site by going to
http://localhost/packt
:
And you can access the admin area by going to
http://localhost/packt/admin_packt
:
For further information about Magento installation, please go to http://devdocs.magento.com/guides/v2.0/install-gde/bk-install-guide.html
Change the font size
Change margin width
Change background colour