diff --git a/README.md b/README.md index a369d76..b4f1f6c 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,18 @@ alphanumeric strings like "/1Cqw8lHw" used by several services. It was inspired by [hastebin](http://hastebin.com). -## Running the app +## Installing the app - git clone https://github.com/rnhmjoj/breve - cd breve - cabal install --only-dependencies - cabal run +Install the app with cabal-install. Run -This will start the app on `http://127.0.0.1:3000` + $ cabal install breve -You can set the bind hostname/port via the `PORT` and `ADDRESS` -environment variables. +and start it with + + $ breve + +The app will start serving on `http://localhost:3000`, listening on every active interface. +You can change the port and set a hostname via the `PORT` and `HOSTNAME` environment variables. ## License