- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have installed latest Magento on Ubuntu server 18.04 64 bits . For learning the application is it possible to import some test data ?
Thanks for any replies,
Deepak
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I havent followed the method given by Sarvagya.
I downloaded the tar.gz file with data and executed
create database magento; create user magento IDENTIFIED BY 'magento'; GRANT ALL ON magento.* TO magento@localhost IDENTIFIED BY 'magento'; flush privileges;
I installed using the web method and this time the install with data was successful.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Hi @deepakdeshp
Yes, you can able to import sample data even after installing Magento 2 as well.
Here is the link to install the sample data - https://devdocs.magento.com/guides/v2.3/install-gde/install/sample-data-after-magento.html
You can actually do it via two ways :
1 - by using composer
2 - by cloning the git repository
Please click on above link follow the steps and you will get more idea how to install the sample data.
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Is there any download file so that Magento will be installed with Sample data? That would be ideal rather than importing one type of item at a time.
Thanks,
Deepak
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Hi @deepakdeshp
Yes, you can download the Magento with magento sample data as well.
Please check this link - https://magento.com/tech-resources/download
Scroll down bottom - you will find option Magento ver 2.3.2 with sample data - download it from here - then installed it for the same
you will get your sample data installed !
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Hello @deepakdeshp
You can download magento with sample data. Here is link where you can download.
https://magento.com/tech-resources/download
Please go to - Full Release with Sample Data section and you can select your version and download it.
If found my answer useful, Please give kudos and accept it as solution.
Ankita Biswas
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Hi @deepakdeshp
Go to below link-
https://magento.com/tech-resources/download
Find text "Full Release with Sample Data", then select desired file format and download.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
I suggest to run just several commands below from command line tool. Make sure you are in the root directory with magento installation.
Installing sample data:
php bin/magento sampledata:deploy
Update database scheme:
php bin/magento setup:upgrade
Compile static content:
php bin/magento setup:di:compile
php bin/magento indexer:reindex
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
I downloaded the file with the sample data and using the web method to install Magento 2.3.2 community edition. I am using Ubuntu 18.04 64 bit server , apache2.
But installation, the last 6th step hangs at 49%.
The last few lines of console log
Module 'Magento_SalesAnalytics': Module 'Magento_SalesGraphQl': Module 'Magento_SalesInventory': Module 'Magento_OfflineShippingSampleData': Module 'Magento_CatalogRuleSampleData': Module 'Magento_TaxSampleData': Module 'Magento_CheckoutAgreements': Module 'Magento_SalesRuleSampleData': Module 'Magento_Elasticsearch6': Module 'Magento_CustomerAnalytics': Module 'Magento_SendFriend': Module 'Magento_SendFriendGraphQl': Module 'Magento_InventoryShippingAdminUi': Module 'Magento_Signifyd': Module 'Magento_Sitemap': Module 'Magento_InventoryGraphQl': Module 'Magento_ConfigurableProductGraphQl': Module 'Magento_Webapi': Module 'Magento_SwaggerWebapi': Module 'Magento_SwaggerWebapiAsync': Module 'Magento_Swatches': Module 'Magento_SwatchesGraphQl': Module 'Magento_SwatchesLayeredNavigation': Module 'Magento_SwatchesSampleData': Module 'Magento_ProductLinksSampleData': Module 'Magento_TaxGraphQl': Module 'Magento_TaxImportExport': Module 'Magento_CustomerSampleData': Module 'Magento_DownloadableGraphQl': Module 'Magento_ThemeGraphQl': Module 'Magento_CmsSampleData': Module 'Magento_Tinymce3': Module 'Magento_Translation': Module 'Magento_GoogleOptimizer': Module 'Magento_Ups': Module 'Magento_SalesSampleData': Module 'Magento_CatalogUrlRewriteGraphQl': Module 'Magento_CatalogAnalytics': Module 'Magento_Usps': Module 'Magento_PaypalCaptcha': Module 'MSP_ReCaptcha': Module 'Magento_VaultGraphQl': Module 'Magento_Version': Module 'Magento_Swagger': Module 'Magento_WebapiAsync': Module 'Magento_WebapiSecurity': Module 'Magento_ReviewSampleData': Module 'Magento_WeeeGraphQl': Module 'Magento_CatalogWidget': Module 'Magento_WidgetSampleData': Module 'Magento_Wishlist': Running schema recurring... Module 'Magento_WishlistAnalytics': Module 'Magento_WishlistGraphQl': Module 'Magento_WishlistSampleData': Module 'Amazon_Core': Module 'Amazon_Login': Module 'Amazon_Payment': Module 'Dotdigitalgroup_Email': Running schema recurring... Module 'Klarna_Core': Module 'Klarna_Ordermanagement': Module 'Klarna_Kp': Module 'Magento_PaypalReCaptcha': Module 'MSP_TwoFactorAuth': Module 'Temando_Shipping': Module 'Vertex_Tax': Installing user configuration...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Thank you. But the commands gave me error so I am trying to install with web method the tar.gz file with Magento data bundled.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to have test data in Magento?
Could you please kindly share the error you are getting while using the commands.