...
Table of Contents | ||
---|---|---|
|
Enabling user reviews
Follow the steps below to enable adding user reviews, if you have set a port offset in your G-Reg server, or if you have hosted WSO2 G-Reg in another server other than localhost.
If you did not start the G-Reg server before:
- Navigate to the
<G-REG_HOME>
/repository/deployment/server/jaggeryapps/store/config/store-tenant.json
file. Change the host and/or port accordingly in the value of the
socialAppUrl
property as shown in the example below (i.e. when you have set a port offset of 1).Code Block language java "features": { "social": { "enabled": true, "keys": { "socialScriptSource": "%https.host%/social/export-js/social.js", "socialScriptType": "text/javascript", "socialAppUrl": "%https.local%/social" } },
If you started the G-Reg server at least once:
- Log in to the Management Console of WSO2 G-Reg using the following uRl and admin/admin credentials: http://<G-REG_HOST>:<G-REG_PORT>/carbon
- Click Main, and then click Browse in the Resources menu as shown below.
- Select the
/_system/config/store/configs/store.json
file as shown below. - Click the Edit as text option in the Content section.
- Change the host and/or port accordingly in the value of the
socialAppUrl
property as shown in the following example (i.e. when you have set a port offset of 1):"socialAppUrl":"https://localhost:9444/social"
Adding a user review
Follow the steps below to add a user review in the G-Reg Store.
...