hybris Setup : Tutorials #1 "hybris" a multichannel e-commerce platform. Some useful linkes Release 5 Documentation Home Download Page hybris e-Commerce Trail Home Page: hybris v5.0 Developer Training Trails - Part I Core Email configuration: Some useful CMD commands to building up hybris server: 1) Navigate to hybris>>bin>> platform directory setantenv.bat : to setting up environment run - ant clean : to clean all the classes & jalo files. ant build / ant all / ant : to compile(build) all java classes. ctrl + c : to shutdown hybris server - ant clean all initialize -Dtanent = master : to initialize Hybris from cmd ant clean all updatesystem-Dtanent = master :to update from cmd talnet Id: master ant extgen // To create a single extension. ant modulegen // To Generate a module (5 extensions) build.parallel=true (local.properties) // to make build fast. ------------------------------------------------- ant clean all - Fresh Hybris Platform Version Contain only "bin" directory - but after running this command "log" "temp" and "data" direcotry created. Path to the Ant version that hybris is using : D:\hybris\bin\platform\apache-ant-1.8.2 ant updatesystem or initialize target ----------------------------------------------------------------- HyBris Services 1. localhost:9001 -> hyBris Admin Console (HAC) : 2. localhost:9001/admincockpit -> Admin Cockpit 3. localhost:9001/mcc -> MCC, where you can access all the hybris perspectives. --------------------------------------------------------------- 1) Initialization 2) Synchronization (HmC --> Catalog >> Catalogs >> SkinitContentCatalog (expand) >> skinitContentCatalog(staged) >> synchronization) 3) Indexing (HmC --> System>>Indexex Operation wizard >> solr config: masterindex>> next >> done) For every new Java Class put an entry into their corresponding extension-spring.xml files. i.e. facade classes entries goes into "skinitacceleratorfacades-spring.xml" ------------------------------------------------------------------------------------------------------------------ <spring:theme /> // used to replace hard coding from JSP pages <spring:theme code="img.homepage.backToTop"> img.homepage.backToTop's entry should be define in base.properties ------------------------------------------------------------------------------------------------------------------ ${request.contextPath}/_ui/desktop/common/images/us_fl_sm.gif $(".change_flag_cntry").attr("src","second.jpg"); spring-mvc-config.xml : where request maps to the url Junit Test Class: 1) write your Junit Test Class & to run go to localhost:9001/hac >> Console >> Test >> Click on the Image NOTE: we can run our Junit Test class by Starting the server(above process) or not(Right click >> Debug as >> jUnit Test) Each Product has Prices, Stock Levels. So Any changes in products.impex cause reflect on product-prices.impex product-stocklevels.impex All About Solr : It's just like a temporary place, like cache memory, where we put all our product data, so at run time we fetch all product details, Solr.impex Runs on 2 different mode 1) embedded(development) - hybris server and solr server runs on the same machine, like our local machinel 2) standalone(production) - hybris & solr servers both runs on two different machines, to utilize resources. # Create the solr server configuration INSERT_UPDATE SolrServerConfig;name[unique=true];mode(code);embeddedMaster;$serverConfigName;embedded;true How to Access: /solrfacetsearch/ click Search. 2013 (2) August (2) Sending Email hybris Setup : Tutorials #1 Blog Archive Sumit Tehanguriya View mycomplete profile About Me hybris E-Commerce Platform: hybris Setup : Tutorials #1 29/09/2014 http://hybrishelpcentre.blogspot.fr/2013/08/hybris-notes.html 1 / 3 Postedby Sumit Tehanguriyaat 22:58 <doc> <arr name="spellcheck_fr"> <str>SMT819</str> </arr> </doc> pk:8796102787073 use logical operator inside search field. Sorting: approved Flag <freeTextSearch>:<>:brand:sony:price:[10-15] Solr Debugging: point-of-service.impex (for state's zipcode) To open Accelerator site: http://localhost:9001/yacceleratorstorefront/?site=electronics SKU - Dynamic Generated Id Localization: Possible in Two Ways: 1)Type System Localization.[in localization file] 2)Using the hMC's Localization Export Function to Create Type System Localization Files. Using the hMC's Localization Export Function to Create Type System Localization Files: Log into the h MC using an administrative account. Navigate to System -> Tools -> Type System Export. host file changes: ------------------------------------------------ serverUrl=http://localhost:80/yacceleratorstorefront website.electronics.http=http://electronics.local:80/yacceleratorstorefront website.electronics.https=https://localhost:443/yacceleratorstorefront 209.202.184.165 prod.cyclegear.com 10.230.20.15 cgh-p-web-01 10.230.20.20 cgh-p-app-01 127.0.0.1 apparel-uk.local 127.0.0.1 apparel-de.local 127.0.0.1 electronics.local 127.0.0.1 hybris.local 127.0.0.1 telco.local To import an "impex" file open hAC Console >> ImpEx Import 8 comments: Madhu 19 May2014 21:07 Hi sumit I'm have deployed the accelerator in AWS and trying to access mcc.The problem is the store webfront link has powertools.local,which is not configured in hosts file.I want to change the link with ip,the rest of the links are working fine in mcc(hmc,instore,all are getting populated with ip) can you help me in fixing this issue Reply Developer 25 May2014 07:39 Reply Developer 28 May2014 18:06 For Hybris core certification practice model question and answer please contact on skype : bipins25 or mail to: erkumod@gmail.com Reply deeru 16 June 2014 23:06 i have created login id but not got the confermation can any on provide me their mail is for the software download...mymail id is deeru.pk31@gmail.com Reply Sumit Tehanguriya 24 August 2014 23:17 Hi Madhu, Sorryfor late, It looks like some URL mapping configuration issue, make sure you have the correct mapping in you localhost file, because accessing directly though IP might not work often. Let me know the status of this issue. Reply Sumit Tehanguriya 24 August 2014 23:19 Hi Deeru, If you are asking for the credentials for download hybris platform then Sorry, due to some securityconcerns we can't provide you that. Reply hybris E-Commerce Platform: hybris Setup : Tutorials #1 29/09/2014 http://hybrishelpcentre.blogspot.fr/2013/08/hybris-notes.html 2 / 3 Newer Post Home Subscribe to: Post Comments (Atom)
Plus
Blog suivant PraveenKumar 11 September 2014 06:29 Hi Sumit, How to create a custom order promotions and How to apply our custom promotion to the Product/Category. Reply SandeepBhupasamudram 11 September 2014 22:07 H. sumit, am getting following error while installing hybis. kindlyhelp me on this .. LOGS: BUILD FAILED D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\build.xml:25: The followi ng error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:47: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:66: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\util.xml:24 : The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:68: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:208: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:220: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\compiling.x ml:241: The following error occurred while executing this line: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\resources\ant\util.xml:86 : Compile failed; see the compiler error output for details. Total time: 34 seconds D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform>hybrisserver.bat Used config: D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform\tomcat-6/con f/wrapper.conf FATAL | wrapper | Failed to load configuration. An error occurred in the process. D:\hybris-multichannel-suite-4.7.9\hybris\bin\platform> Reply Simple template. Powered byBlogger. hybris E-Commerce Platform: hybris Setup : Tutorials #1 29/09/2014 http://hybrishelpcentre.blogspot.fr/2013/08/hybris-notes.html 3 / 3