Where are the instructions to open and view the VirtoCommerce store in Visual Studio? - virtocommerce

I see there are instructions to set up the webadmin part for VirtoCommerce which I was able to follow. How do you view the actual store? What is the vc-community-master.zip used for? Where are the instructions for using it

Master branch is for 1.13 version currently. If you want to setup webadmin, use the webadmin branch. Instructions for setting up are here:
http://docs.virtocommerce.com/display/vc2devguide/Source+Code+Getting+Started.
Hope this helps! There are two sites, frontend and backend that need to be setup.

Related

Can react-admin be deployed as a static site?

I wish to deploy a react-admin application as a static site - running without a server component. This data browsing app would use the ra-data-fakerest on a read-only slug of JSON.
Examples of deploying this would be to a GitHub Pages site, or a dumb memory stick.
Since react-admin is written in React/Typescript it must get trans-piled before running, presumably into a build folder. So, am I right in thinking I could just deploy the build folder?
(also grateful for any lessons-learned on this subject).
Yes, you absolutely can. The react-admin demo (https://marmelab.com/react-admin-demo/) is indeed a static site. What is deployed is just the built version of https://github.com/marmelab/react-admin/tree/master/examples/demo.
The react-admin codesandbox is another example of that: https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple

Problem with installing spartacussampledataaddon for use with Spartacus 3.0

I've got a problem with setting my environment to work with Spartacus. I've started by following documentation and performed all operations step by step. Finally, I've obtained working local Commerce Cloud (2005.4) instance with -spa websites showing up in the Backoffice.
Content of Backoffice
Next, I've created fresh Spartacus 3.0 using these docs and connected it to my Commerce. What I get is a storefront with non-working PDP, Search Result Page (B2B), etc. I'm getting Translation key missing 'TabPanelContainer.tabs.TabPanelContainer' in the chunk 'product' error all over the site.
PDP error
I don't know what might be the source of the problem because I'm strictly following the official documentation. Any help will be appreciated!
The addon "spartacussampledataaddon" was changed to "spartacussampledata" extension. Please download the "spartacussampledata", and try again. (https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2005/). Also please make sure the base-site configured in Spartacus is the "spa" site.

How to access puppet documentation offline?

Is there any way I can have Puppet complete documenation available offline ? Its hard checking module documentation everytime via browser.
I hope it will help other Puppet module developers.
Thank you.
While searching I have found Zeal Application which is like Offline Documentation broweser and that seems supports so many langugages. can be download from Official website here: https://zealdocs.org/
You could request to download it from Puppet direct.
https://docs.puppet.com/download/
It will come down as puppetdocs-latest.tar.gz and is currently about 879MB.
It looks like the documentation is supposed to be viewable offline if you simply clone it. Go to this link here. However, at this moment, it looks to me like the offline viewing functionality is broken - the relative hyperlinks don't actually work. If you figured out what's wrong, you could probably send in a PR to fix it.

How to install Telligent with sitecore 8.1?

I want to install and configure telligent with sitecore 8.1. In Telligent documentation i don't know from where i should start installing the telligent, there are lots of process defined. can any one tell me the process to install telligent with sitecore 8.1.
The first thing to understand is that they are 2 different products so you need to first install both of them separately according to their own system requirements. Generally Sitecore keeps this documentation here : https://dev.sitecore.net/
To install Telligent Community refer to here:
https://community.telligent.com/documentation/w/telligent-community-90/52408.install-telligent-community
Once that is done you have 2 ways to integrate:
REST Apis and Single Sign On Modules. You could use the cookies auth module to do single sign on then you need to gather data from Telligent Community from its REST API.
community.telligent.com/training/w/developer90/52426.cookies-authentication#
community.telligent.com/training/w/developer90/52429.rest-api
The recommend way is the use the Telligent Community REST SDK which is still using REST but makes it easier and has some single sign on capabilities built in. There is also some samples you can refer to.
community.telligent.com/training/w/developer90/52432.rest-sdk
github.com/Telligent/Community-Rest-SDK
github.com/Telligent/Social-SitecoreSDK-Samples
community.telligent.com/training/w/developer90/52432.rest-sdk
forgive the non-links, it will not let me post that many.

Is there any API to automate extension installation in XWiki?

I use xwiki Enterprise 7.4. The official way to install extensions is to use either Import feature or Extension Manager. Both ways require user interaction. I would like to automate extension installation process, so no user interactions for extension installation. Is it possible? I've automated spaces/pages creation via REST API. Maybe it's possible to use REST API to do it, I can't find it in documentation.
Why do I need it? It's simple: I've automated all the steps of deployment/migration process for my application and I would like to automate xwiki extension installation too.
As indicated by Vincent, you can use the extension script service from inside XWiki. This script service is what the UI is using so everything the UI is doing can be done also by any script (as long as the script author has proper rights).
I just wrote a Velocity example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Script+Module#HNon-interactiveandsynchronousinstall:
{{velocity}}
## Create install request for extension with id org.xwiki.contrib:extension-tweak and version 1.3 on current wiki
#set($installRequest = $services.extension.createInstallRequest('org.xwiki.contrib:extension-tweak', '1.3', "wiki:${xcontext.database}"))
## Disable interactive mode
$installRequest.setInteractive(false)
## Start install
#set($installJob = $services.extension.install($installRequest))
## Wait until install is done
$installJob.join()
{{/velocity}}
All you need is to put the Thomas' script in a page. You can use the REST API for that. See: http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources
Then you call the URL from your application.
Ex: you put the code in XWiki/AutoInstall with a REST call and then you can call this page with the following url:
http://localhost:8080/xwiki/bin/get/XWiki/AutoInstall
I suggest to use the "get" action from the URL to avoid unnecessary informations.
The XWiki Core dev team is aware of this and it's in the roadmap but it's not done yet. For example you can see that it was planned for the 8.0 roadmap but it slipped (http://www.xwiki.org/xwiki/bin/view/Roadmaps/Archives8xCycle/).
Continue improving upgrade tools: Scriptable upgrades (priority 1), Simulation (priority 2)
It seems there's no issue created for this at the moment. Would be great if you could create a JIRA issue at http://xwiki.org in the XWiki Platform project.
Now regarding extensions, there's some Script Service that can be used to manipulate extensions, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Script+Module
However this documentation is pretty terse. You could check the java code at https://github.com/xwiki/xwiki-platform/blob/95abd2951123431c1624c124b49ca7a88b41be00/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-script/src/main/java/org/xwiki/extension/script/ExtensionManagerScriptService.java#L84-L84
I've not personally used this script service so I can't give real examples of using this API