Volto add-on
You can configure the proxied Elasticsearch with the env var:
RAZZLE_PROXY_ES_DSN_${appName}
, so for example RAZZLE_PROXY_ES_DSN_datahub
.
If you use only one ES server, you can simply set RAZZLE_PROXY_ES_DSN
.
You can configure the proxied NLPServer with the env var:
RAZZLE_PROXY_QA_DSN_${appName}
, for example:
RAZZLE_PROXY_QA_DSN_globalsearch
. You you use only one NLP service, you can
simply set RAZZLE_PROXY_QA_DSN
. Notice, in principle the NLPService can use
different Elasticsearch indexes.
git clone https://github.com/eea/volto-searchlib.git
cd volto-searchlib
make
make start
Go to http://localhost:3000
-
Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone
docker compose up backend
-
Start Volto frontend
-
If you already have a volto project, just update
package.json
:"addons": [ "@eeacms/volto-searchlib" ], "dependencies": { "@eeacms/volto-searchlib": "*" }
-
If not, create one:
npm install -g yo @plone/generator-volto yo @plone/volto my-volto-project --canary --addon @eeacms/volto-searchlib cd my-volto-project
-
Install new add-ons and restart Volto:
yarn yarn start
-
Go to http://localhost:3000
-
Happy editing!
See RELEASE.md.
See DEVELOP.md.
The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
See LICENSE.md for details.