prepare for v5
This commit is contained in:
parent
6a8a832f98
commit
39272bd7a5
4 changed files with 8 additions and 13 deletions
|
@ -10,7 +10,7 @@ RUN apk add --update git bash && \
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV HOSTNAME 2.db.transport.rest
|
ENV HOSTNAME v5.db.transport.rest
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<rect class="box" x="0" y="0" width="100" height="41" />
|
<rect class="box" x="0" y="0" width="100" height="41" />
|
||||||
<text class="monospace-text" x="26.2" y="13">db-rest</text>
|
<text class="monospace-text" x="26.2" y="13">db-rest</text>
|
||||||
<text class="normal-text small-text" x="4" y="26">deployed at</text>
|
<text class="normal-text small-text" x="4" y="26">deployed at</text>
|
||||||
<text class="monospace-text small-text" x="4" y="36">2.db.transport.rest</text>
|
<text class="monospace-text small-text" x="4" y="36">v5.db.transport.rest</text>
|
||||||
</g>
|
</g>
|
||||||
<g transform="translate(269, 14)">
|
<g transform="translate(269, 14)">
|
||||||
<path class="arrow" d="M0,14 L50,14" />
|
<path class="arrow" d="M0,14 L50,14" />
|
||||||
|
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
@ -2,15 +2,10 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "db-rest",
|
"name": "db-rest",
|
||||||
"description": "A clean REST API wrapping around the Deutsche Bahn API.",
|
"description": "A clean REST API wrapping around the Deutsche Bahn API.",
|
||||||
"version": "2.0.0",
|
"version": "5.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
|
||||||
"index.js",
|
|
||||||
"api.js",
|
|
||||||
"lib"
|
|
||||||
],
|
|
||||||
"author": "Jannis R <mail@jannisr.de>",
|
"author": "Jannis R <mail@jannisr.de>",
|
||||||
"homepage": "https://github.com/derhuerst/db-rest/tree/2",
|
"homepage": "https://github.com/derhuerst/db-rest/tree/5",
|
||||||
"repository": "derhuerst/db-rest",
|
"repository": "derhuerst/db-rest",
|
||||||
"bugs": "https://github.com/derhuerst/db-rest/issues",
|
"bugs": "https://github.com/derhuerst/db-rest/issues",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# db-rest
|
# 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)
|
[API Documentation](docs/index.md) | [Why?](docs/why.md)
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
### via Docker
|
### 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
|
```shell
|
||||||
docker run -d -p 3000:3000 derhuerst/db-rest
|
docker run -d -p 3000:3000 derhuerst/db-rest:5
|
||||||
```
|
```
|
||||||
|
|
||||||
### manually
|
### manually
|
||||||
|
@ -28,7 +28,7 @@ docker run -d -p 3000:3000 derhuerst/db-rest
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/derhuerst/db-rest.git
|
git clone https://github.com/derhuerst/db-rest.git
|
||||||
cd db-rest
|
cd db-rest
|
||||||
git checkout 2
|
git checkout 5
|
||||||
npm install --production
|
npm install --production
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue