Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move docker usage to top #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@

![alt](https://sparql-support.dbcls.jp/file/ep_browser.png)

## Run Endpoint browser via Docker

### Prerequisites

- [Docker](https://docs.docker.com/get-docker/)
- [Docker-compose](https://docs.docker.com/compose/install/)

### Usage

Run containers with `docker-compose` and open `http://localhost:3000/html`.

```
$ git clone https://github.com/moriya-dbcls/endpoint_browser.git
$ cd endpoint_browser
$ docker-compose up --build -d
```

Stop containers

```
$ cd endpoint_browser
$ docker-compose down
```

## install to local
* for private loocalhost-endpoint ([Endpoint browser](https://sparql-support.dbcls.jp/endpoint-browser.html) service page is available for open access endpoints.)
* req. [SPARQList](https://github.com/dbcls/sparqlist) and [togostanza](https://github.com/togostanza/ts)
Expand Down Expand Up @@ -76,27 +100,3 @@ hard-coded port num and directory name
sparqlist/public/html/index.html:7 href="//localhost:8080/stanza/endpoint-browser/"
sparqlist/public/html/endpoint-browser.js:11 api: "//localhost:3000/api/"
```

## Run Endpoint browser via Docker

### Prerequisites

- [Docker](https://docs.docker.com/get-docker/)
- [Docker-compose](https://docs.docker.com/compose/install/)

### Usage

Run containers with `docker-compose` and open `http://localhost:3000/html`.

```
$ git clone https://github.com/moriya-dbcls/endpoint_browser.git
$ cd endpoint_browser
$ docker-compose up --build -d
```

Stop containers

```
$ cd endpoint_browser
$ docker-compose down
```