In this tutorial,Â the topic is Theme Quickstart Installation. This blog will tackle all your unclear problems of installingÂ a theme.
How can you actually install a theme fastest?
Everything will be alright because the instruction below is very detailed. You have to pass through 4 main steps.
Step 1: Decompress theme package, we will get the folder â€œQuick Start Filesâ€. In the folder, we get a sub folder (ex: magento 2.0.7 or magento 2.1.0). At here we use 2.1.0
The theme quickstart package we will have the following files and folders:
Step 2: Create new database and import the file â€œQuickstart Files/magento 2.1.0/database_magento21o.sql or /database.sqlâ€ into the database which you have just created.
Step 3: Upload and decompress the file [THEME]_magento210_quickstart.zip (ex: ves_oshop_magento210_quickstart.zip) into web root folder of your site.Â
Step 4: Customize site url in web browser. In setup config database, we input the database name which you created and imported sql file onÂ step 2.
â€“ Setup steps by steps as the guide: HOW TO INSTALL MAGENTO 2.0: CLEAR & DETAIL-ORIENTED GUIDE TO SET UP EASILY
Or you setup via SSH command:
php bin/magento setup:install --base-url=http://yourdomain.com/ \ --db-host=localhost --db-name=magento_database_name --db-user=database_username --db-password=database_password \ --admin-firstname=Magento --admin-lastname=User --firstname.lastname@example.org \ --admin-user=admin123 --admin-password=admin123 --language=en_US \ --currency=USD --use-rewrites=1 --backend-frontname=myadmin
â€“base-url: is your site domain which you want to setup
â€“db-name: is database name which you created and imported sample database
â€“db-user: is database user name to connect to the database server
â€” db-password: is database password of â€“db-user
â€“admin-email: is email of admin
â€“admin-user: is admin user name which you want to create
â€“admin-password: is admin password
â€“backend-frontname: is admin route which you want to make for your site. For example: http://yourdomain.com/myadmin
Click the link below to get more informationÂ about setup:
Note:Â If you have problem when run setup quickstart (maybe 500 error). Because the files and folders in your server are having wrong permission. We should change permission for them. Try to use ssh commands:
chmod -R 0777 pub var app/etc
chmod -R 0777 pub var app/etc chmod -R 0755 index.php setup/
I hope that this article will be a help for you to install magento 2 theme for your online store.
Related Blogposts You May be Interested In:
- Top 10+ Magento 2 Reward Points Extensions
- 10+ Best Magento 2 Store Locator Extension Free & Premium
- 14+ Best Magento 2 Social Login Extension Free & Premium
- Top 9 Magento 2 Reward Points Extension Free & Premium
- Top 10 Magento 2 Blog Extension Free & Premium
- 10+ Best Magento 2 FAQ Extension Free & Premium