Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

coveo-searchpages-cli

0.0.2 • Public • Published

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:

  1. npm i -g coveo-searchpages-cli
  2. then use update-searchpage from the folder with the html & javascript code.

Or you can build it:

  1. git clone this project
  2. 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)

Install

npm i coveo-searchpages-cli

DownloadsWeekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

14.5 kB

Total Files

7

Last publish

Collaborators

  • avatar