Skip to content

Commit f725db8

Browse files
committed
howto.md: Add docker documentation
Signed-off-by: Ce Gao <ce.gao@outlook.com>
1 parent f33886c commit f725db8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/howto.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# HOWTO
22

3-
## Requirements
3+
## Play with Docker
4+
5+
* `docker build . -t processing.r`
6+
* `docker run processing.r`
7+
* Open the link of NoVNC in a web browser and the default password is `process`. Input it in the URL and play with Processing.R in a desktop environment:)
8+
9+
See [the demo in vimeo :)](https://vimeo.com/207571123)
10+
11+
## In Your Native Environment
412

513
* Clone [processing/processing](https://github.com/processing/processing)
614
* Install JDK 1.8
@@ -12,9 +20,9 @@
1220
* Run `./scripts/generate-ant-file.sh` to get a valid build.xml
1321
* Run `ant install`, you will get a mode in `processing/modes`.
1422

15-
<img src="./docs/img/editor.png" width="600">
23+
<img src="./img/editor.png" width="600">
1624

17-
<img src="./docs/img/demo.gif" width="600">
25+
<img src="./img/demo.gif" width="600">
1826

1927
### Runner.jar
2028

@@ -34,4 +42,4 @@ processing$line(posAX, posAY, posBX, posBY)
3442

3543
The output is:
3644

37-
<img src="./docs/img/demo.png" height="200">
45+
<img src="./img/demo.png" height="200">

0 commit comments

Comments
 (0)