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 ```