1.Installation of ZooExtension’s Magento 2 demo store
If you already have a Magento store and want to apply the theme to that store, then this guide is NOT for you!
If you want to test the theme and check how the live demo was configured, you can install demo containing all the sample data and settings from our live demo.
There are several ways to install Magento 2 and this post we would like to bring to you a step by step guide to install Magento 2.0 with sample data on your local server.
Step by Step:
1. Install XAMPP
You can Install XAMPP via this link.Download Xampp
If you already installed XAMPP, please check whether it meets the below Magento 2 requirements:
- Apache: 2.2 or 2.4
- PHP: >=5.4.11 or 5.5.x
- MySQL: 5.6.x
2. Install Composer
- Download and run Composer-Setup.exe
- Run the installer and choose Install Shell Menus.
- Installer will ask for php.exe. Please provide path of your xampp php.exe to install. Usually it available in your C:\xampp\php folder\php.exe but it totally depends on where you have installed.
- One installation is finished you can use composer via command line.
Note: To advoice problem while installing magento 2, you should open file name file php.ini on C:\xampp\php and config as below :
– Find ” always_populate_raw_post_data” and delete “;” in front of and change to “always_populate_raw_post_data = -1”. Then you should resart Apache and MySQL to update changes.
3. Install Magento 2.0
In quickstart package, we include theme package + sample data so you can install fully Magento theme was config the same as in our demo. After downloading theme, you need to extract the quickstart file.
Step 1: Creat a Magento SQL database for Magento to use
Log into MySQL to create database.
Step 2: Import Theme Package /database/m2_theme.sql.gz into database that was created.
Step 3: Then, open browser and go to: http://localhost/m2_theme/ to start install Magento 2.0
Choose Agree and Setup Magento.
Step 4: Choose Start Readiness Check. Magento 2 will check all the Readiness then click next.
Step 5: Enter server and database in step 2 and then click on Next.
Step 6: Click Next và and put your website URL, Admin URL, HTTPS Options…
Step 7: Customize your store: you can choose time Zone, Currency and Languages.
Step 8: Choose Next and Create Admin Account. Enter your information and move to the next step.
Step 9: Click on Install Now.
It will take some minutes to finish installation. The window will be shown Success when everything is done.
If you are facing with the problem related to shortage of media, please run the command: php bin/magento setup:static-content:deploy
The result is as below:
CONGRATULATION! You install Magento 2.0 successfully.