Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Including instructions for running from a Docker Hub image
  • Loading branch information
dstillman committed Jun 25, 2019
1 parent f1c0b6a commit a95cf74
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Zotero translation server lets you use [Zotero translators](https://www.zote

## Installation

1. `git clone --recurse-submodules --jobs 4 https://github.com/zotero/translation-server`
1. `git clone --recurse-submodules https://github.com/zotero/translation-server`

1. `cd translation-server`

Expand All @@ -18,9 +18,22 @@ The Zotero translation server lets you use [Zotero translators](https://www.zote

## Running via docker

### Production

Pull from Docker Hub and run as a background process:

```
docker pull zotero/translation-server
docker run -d -p 1969:1969 --rm zotero/translation-server
```

### Development

Build from local repo and run in foreground:

```
docker build -t translation-server .
docker run -d -p 1969:1969 translation-server
docker run -ti -p 1969:1969 --rm translation-server
```

## Running on AWS Lambda
Expand Down

0 comments on commit a95cf74

Please sign in to comment.