Skip to content

Commit

Permalink
Merge pull request #231 from AKSW/feature/updateReadme
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
splattater authored Aug 20, 2019
2 parents bd16747 + bd1dbd9 commit 80b1cea
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,27 @@ Further options which can be set are:
* `QUIT_OAUTH_CLIENT_ID` - the GitHub OAuth client id (for OAuth see also the [github docu](https://developer.github.com/apps/building-oauth-apps/authorization-options-for-oauth-apps/))
* `QUIT_OAUTH_SECRET` - the GitHub OAuth secret

To run the image execute the following command:
You need a local directory where you want to store the git repository.
In the example below `mkdir /store/repo`.
Make sure the quit process in the docker container has write access to this directory by executing:
```
sudo chown 1000 /store/repo
sudo chmod u+w /store/repo
```
To run the image execute the following command (maybe you have to replace `docker` with `sudo docker`):

```
docker run --name containername -v /existing/store/repo:/data aksw/quitstore
docker run -it --name containername -p 8080:8080 -v /store/repo:/data aksw/quitstore
```

The following example will map the quit store port to the host port 80.
The following example will start the quit store in the background in the detached mode.

```
docker run --name containername -p 80:8080 -v /existing/store.repo:/data aksw/quitstore
docker run -d --name containername -p 8080:8080 -v /store/repo:/data aksw/quitstore
```

Now you should be able to access the quit web interface under `http://localhost:8080` and the SPARQL 1.1 interface under `http://localhost:8080/sparql`.

## Migrate from old Versions

### Update to 2018-11-20 from 2018-10-29 and older
Expand Down

0 comments on commit 80b1cea

Please sign in to comment.