From 39272bd7a5faccb2b672f1146ae5545040dc3821 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Thu, 30 Apr 2020 15:05:18 +0200 Subject: [PATCH] prepare for v5 --- Dockerfile | 2 +- architecture.svg | 2 +- package.json | 9 ++------- readme.md | 8 ++++---- 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a08323..4f6c7d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apk add --update git bash && \ EXPOSE 3000 -ENV HOSTNAME 2.db.transport.rest +ENV HOSTNAME v5.db.transport.rest ENV PORT 3000 CMD ["node", "index.js"] diff --git a/architecture.svg b/architecture.svg index 3ed4140..526cfd6 100644 --- a/architecture.svg +++ b/architecture.svg @@ -42,7 +42,7 @@ db-rest deployed at - 2.db.transport.rest + v5.db.transport.rest diff --git a/package.json b/package.json index eb35663..daff55e 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,10 @@ "private": true, "name": "db-rest", "description": "A clean REST API wrapping around the Deutsche Bahn API.", - "version": "2.0.0", + "version": "5.0.0", "main": "index.js", - "files": [ - "index.js", - "api.js", - "lib" - ], "author": "Jannis R ", - "homepage": "https://github.com/derhuerst/db-rest/tree/2", + "homepage": "https://github.com/derhuerst/db-rest/tree/5", "repository": "derhuerst/db-rest", "bugs": "https://github.com/derhuerst/db-rest/issues", "license": "ISC", diff --git a/readme.md b/readme.md index 2d5c32d..0bbb8b5 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # db-rest -**A clean REST API wrapping around the [Deutsche Bahn](https://en.wikipedia.org/wiki/Deutsche_Bahn) [API](https://github.com/public-transport/db-hafas#db-hafas).** +**A clean REST API wrapping around the [Deutsche Bahn HAFAS API](https://github.com/public-transport/db-hafas#db-hafas).** It is deployed at [`v5.db.transport.rest`](https://v5.db.transport.rest/). [API Documentation](docs/index.md) | [Why?](docs/why.md) @@ -17,10 +17,10 @@ ### via Docker -A Docker image [is available as `derhuerst/db-rest`](https://hub.docker.com/r/derhuerst/db-rest). +A Docker image [is available as `derhuerst/db-rest:5`](https://hub.docker.com/r/derhuerst/db-rest:5). ```shell -docker run -d -p 3000:3000 derhuerst/db-rest +docker run -d -p 3000:3000 derhuerst/db-rest:5 ``` ### manually @@ -28,7 +28,7 @@ docker run -d -p 3000:3000 derhuerst/db-rest ```shell git clone https://github.com/derhuerst/db-rest.git cd db-rest -git checkout 2 +git checkout 5 npm install --production npm start ```