Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 827 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 827 Bytes

Content Snippets (Edit)

A tool to enable in-page editing of elements with Cortex as a backend.

Building/Watching

Install some global dependencies, then project dependencies:

$ npm -g install bower gulp
$ npm install
$ bower install

You will also need to host/locate several CKEditor plugins, which should be available via any hosted Cortex instance. See main.js for further information.

Now you can build or watch the project! Built and Compiled assets will be plopped into the dist directory.

$ gulp build
or
$ gulp watch
or, to minify assets:
$ gulp compile

Configuration

Before using or distributing content-snippets-edit, the .env file should be configured. Copy and rename the .env.example provided and configure to match the environment.