Skip to content

Commit

Permalink
Readme update.
Browse files Browse the repository at this point in the history
  • Loading branch information
grayhound committed Jul 16, 2013
1 parent 77daeca commit 8248549
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,13 @@ It's based on a [uploadcare-php][3] library.
## Requirements

- TinyMCE 3.5+
- PHP 5.2+
- php-curl

## Install

Clone plugin from git to your plugins directory:

git clone git://github.com/uploadcare/uploadcare-tinymce.git plugins/uploadcare --recursive

Find a "config.php" file inside plugin directory and edit it:

<?php
define('UC_PUBLIC_KEY', 'demopublickey');
define('UC_SECRET_KEY', 'demoprivatekey');

Find a "config.js" file an edit it:

var UPLOADCARE_PUBLIC_KEY = "demopublickey";
Expand All @@ -35,6 +27,8 @@ Add a plugin and plugin button when initializing TinyMCE:
theme_advanced_buttons1 : "uploadcare,save,..."
....

Enable autostore for you account.

## Usage

1. Press "Uploadcare" button.
Expand Down

0 comments on commit 8248549

Please sign in to comment.