coveo-searchpages-cli

0.0.3 • 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

/coveo-searchpages-cli/

    Package Sidebar

    Install

    npm i coveo-searchpages-cli

    Weekly Downloads

    0

    Version

    0.0.3

    License

    ISC

    Unpacked Size

    14.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • jdevost