Update description and install instructions

master
rnhmjoj 2015-04-09 17:26:05 +02:00
parent b1d10ea6da
commit 2e031dd952
1 changed files with 9 additions and 8 deletions

View File

@ -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