/aurelia-tinymce-sample

Sample app with Aurelia and TinyMCE

Primary LanguageJavaScriptMIT LicenseMIT

aurelia-tinymce-sample

The sample application with Aurelia and TinyMCE

You can see how to insert images by your own TinyMCE plugin.

DEMO

Running The App

To run the app, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:
npm install
  1. Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
  1. Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm

Note: jspm queries GitHub to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing jspm registry config github and following the prompts. If you choose to authorize jspm by an access token instead of giving your password (see GitHub Settings > Personal Access Tokens), public_repo access for the token is required.

  1. Install the client-side dependencies with jspm:
jspm install -y

Note: Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing npm install -g unzip and then re-running jspm install.

  1. To build the app, execute the following command:
gulp build
  1. To run the app, execute the following command:
npm start
  1. Browse to http://localhost:3000 to see the app.