chore(): Updates README

CouchDB changed since the last time of development, updating the
README.md to match the changes.
This commit is contained in:
Elia el Lazkani 2024-11-30 11:07:24 +01:00
parent f10af22168
commit c7c546f371

View file

@ -9,7 +9,7 @@ Shortenit is a tool to shorten urls.
To run `shortenit`, first we need to have a running database. Shortenit uses [CouchDB](https://couchdb.apache.org/) as a database. CouchDB can run as a docker container. To run `shortenit`, first we need to have a running database. Shortenit uses [CouchDB](https://couchdb.apache.org/) as a database. CouchDB can run as a docker container.
```text ```text
$ docker run -p 5984:5984 -d couchdb $ docker run -p 5984:5984 -e COUCHDB_USER=root -e COUCHDB_PASSWORD=root -d couchdb
``` ```
At this point, visit the local instance link [http://localhost:5984](http://localhost:5984/) and create the user credentials configured in [config/config.yaml](config/config.yaml). At this point, visit the local instance link [http://localhost:5984](http://localhost:5984/) and create the user credentials configured in [config/config.yaml](config/config.yaml).