Update description and install instructions
This commit is contained in:
parent
b1d10ea6da
commit
2e031dd952
17
README.md
17
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user