improve readme 📝
[ci skip]
This commit is contained in:
parent
bb4cf73c56
commit
26994889f4
1 changed files with 13 additions and 2 deletions
15
readme.md
15
readme.md
|
@ -13,16 +13,27 @@
|
||||||
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)
|
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)
|
||||||
|
|
||||||
|
|
||||||
## Installing
|
## installing & running
|
||||||
|
|
||||||
|
### via Docker
|
||||||
|
|
||||||
|
A Docker image [is available as `derhuerst/db-rest`](https://hub.docker.com/r/derhuerst/db-rest).
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -d -p 3000:3000 derhuerst/db-rest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### manually
|
||||||
|
|
||||||
|
```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
|
||||||
npm install --production
|
npm install --production
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
[A Docker image is available as `derhuerst/db-rest`.](https://hub.docker.com/r/derhuerst/db-rest)
|
To keep the API running permanently, use tools like [`forever`](https://github.com/foreverjs/forever#forever), [`pm2`](http://pm2.keymetrics.io) or [`systemd`](https://wiki.debian.org/systemd).
|
||||||
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
Loading…
Reference in a new issue