Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyoharu-Nishikawa committed Feb 10, 2018
1 parent 6b6f578 commit dbd31df
Showing 1 changed file with 35 additions and 16 deletions.
51 changes: 35 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jsnote is simple javascript editor running on web browsers.


## Demo
Go to [jsnote](https://toyoharu-nishikawa.github.io/jsnote/public/index.html)
Go to [jsnote](https://toyoharu-nishikawa.github.io/jsnote/)

## Usage

Expand Down Expand Up @@ -76,14 +76,19 @@ public
|-- scripts
|-- styles
|-- sample
|--list.json
|--native_javascript
| |-- README.js
| |-- HelloWorldExample.js
|--plotly
| |-- HelloWorldExample.js
|--svig
| |-- HelloWorldExample.js
|-- public
| |--list.json
| |--JavaScript
| | |-- READ_ME.js
| | |-- HelloWorldExample.js
| |--plotly
| | |-- HelloWorldExample.js
| |--svig
| | |-- HelloWorldExample.js
|--private
|--sample.json
|-- ReadMe.md
|-- your private sample category
.
.
.
Expand All @@ -93,20 +98,34 @@ public
##### Method 1 : pull from Docker Hub (WEB server only)
pull image from Docker Hub and built with docker-compose

step1: make docker-.compose.yaml
step1: make the direcotry as "jsnote" and move to it

```docker-compose.yaml
```shell
mkdir jsnote
cd jsnote
```

step2: make "docker-.compose.yaml" in the direcotory of "jsnote"

```jsnote/docker-compose.yaml
version: '2'
services:
jsnote:
services:
api:
image: toyohal24/jsnote_api
restart: always
volumes
- ./sample:/usr/share/nginx/html/sample/private
- ./log:/var/log/node
web:
image: toyohal24/jsnote
restart: always
ports:
- "2555:80"
#volumes // uncomment two lines from here if you have your original sample
# - ./sample:/var/share/nginx/html/sample
volumes
- ./sample:/usr/share/nginx/html/sample/private
- ./log:/var/log/nginx
```
step2: build with docker-compose
step3: build with docker-compose in the directory of "jsnote"

```shell
docker-compose up -d
Expand Down

0 comments on commit dbd31df

Please sign in to comment.