Building WYMeditor

  1. Get a copy of the source using git:

    $ git clone git://github.com/wymeditor/wymeditor.git
    
  2. Install make, Node.js and UglifyJS. To install UglifyJS using NPM run the following:

    $ npm install -g uglify-js
    
  3. Run make from your git clone:

    $ cd wymeditor
    $ make
    

The resulting compressed distribution will appear in your dist directory.

Building with Google’s Closure Compiler (Java)

The default WYMeditor distribution is built with UglifyJS, which requires the installation of Node.js. If you prefer Java and/or Google’s Closure Compiler, you can follow these instructions instead.

  1. Get a copy of the source using git:

    $ git clone git://github.com/wymeditor/wymeditor.git
    
  2. Install make and Java.

  3. Download Closure Compiler application, extracting compiler.jar into your wymeditor directory.

  4. Run make from your git clone:

    $ cd wymeditor
    $ make min_closure archive
    

Project Versions

Table Of Contents

Previous topic

Developers

Next topic

Testing WYMeditor

This Page