diff --git a/README.md b/README.md index 4eeae74..0908e52 100644 --- a/README.md +++ b/README.md @@ -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. ```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).