SearchPages-cli
Description
A simple Command line tool to package and update Search Pages into a Coveo organization.
Available documentation
Contributing to this project
- Branch
- Pull Request
- And... that's pretty much it!
How-to install
The easy way if to grab it from NPM:
npm i -g coveo-searchpages-cli
- then use
update-searchpage
from the folder with the html & javascript code.
Or you can build it:
-
git clone
this project -
npm install
to get the dependencies (request, fs)
How-to run
update-searchpage -init my_folder
update-searchpage my_folder
What does it do?
It packages the files page.html
, page.scss
, and page.js
into one generated.html
and uploads this generated file into your Coveo organization (defined in the config).
Result templates can be externalized in their own folders templates
.
It will validate if the current version in the server matches the last one that was uploaded. Look in the warnings to see how to resolve conflicts. This is to avoid losing changes that were made by other contributors and changes done with the Interface Editor.
Dependencies
- Node.js
- Node modules:
fs
,md5
,node-sass
Authors
- Jérôme Devost (https://github.com/jdevost)