Skip to content

Commit 1d01c82

Browse files
committed
Add "Running the Example" section to README.md.
1 parent aaf7164 commit 1d01c82

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
bootstrap-editor extends [bootstrap-wysihtml5](https://github.com/jhollingworth/bootstrap-wysihtml5) with image upload feature by using [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload).
44

5+
## Running the Exmaple
6+
7+
```bash
8+
git clone git@github.com:trantorLiu/bootstrap-editor.git
9+
cd bootstrap-editor
10+
11+
# Setup the server side. See the **Server** section below for more info.
12+
mkdir node_modules
13+
npm install blueimp-file-upload-node
14+
./node_modules/blueimp-file-upload-node/server.js
15+
16+
# Then open bootstrap-editor/index.html with your browser.
17+
```
18+
519
## Files to reference
620
```html
721
<script src="lib/js/wysihtml5-0.3.0.js"></script>
@@ -56,7 +70,7 @@ There are some server side support avaliable on https://github.com/blueimp/jQuer
5670

5771
For example, node users can simply type:
5872

59-
```sh
73+
```bash
6074
npm install blueimp-file-upload-node
6175
./node_modules/blueimp-file-upload-node/server.js
6276
```

0 commit comments

Comments
 (0)