mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
README cleanup
This commit is contained in:
parent
d30bc6a54c
commit
62f8c731d9
10
README.md
10
README.md
@ -1,4 +1,6 @@
|
||||
# unleash-server [![Build Status](https://travis-ci.org/finn-no/unleash.svg?branch=master)](https://travis-ci.org/finn-no/unleash) [![Code Climate](https://codeclimate.com/github/finn-no/unleash/badges/gpa.svg)](https://codeclimate.com/github/finn-no/unleash) [![Coverage Status](https://coveralls.io/repos/finn-no/unleash/badge.png?branch=master)](https://coveralls.io/r/finn-no/unleash?branch=master) [![Dependency Status](https://david-dm.org/finn-no/unleash.png)](https://david-dm.org/finn-no/unleash) [![devDependency Status](https://david-dm.org/finn-no/unleash/dev-status.png)](https://david-dm.org/finn-no/unleash#info=devD)
|
||||
# unleash-server
|
||||
|
||||
[![Build Status](https://travis-ci.org/finn-no/unleash.svg?branch=master)](https://travis-ci.org/finn-no/unleash) [![Code Climate](https://codeclimate.com/github/finn-no/unleash/badges/gpa.svg)](https://codeclimate.com/github/finn-no/unleash) [![Coverage Status](https://coveralls.io/repos/finn-no/unleash/badge.png?branch=master)](https://coveralls.io/r/finn-no/unleash?branch=master) [![Dependency Status](https://david-dm.org/finn-no/unleash.png)](https://david-dm.org/finn-no/unleash) [![devDependency Status](https://david-dm.org/finn-no/unleash/dev-status.png)](https://david-dm.org/finn-no/unleash#info=devD)
|
||||
|
||||
unleash-server is a place to ask for the status of features.
|
||||
|
||||
@ -12,7 +14,7 @@ GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
|
||||
SQL
|
||||
```
|
||||
|
||||
Then set up your DATABASE_URI env.var:
|
||||
Then set DATABASE_URI env var:
|
||||
```
|
||||
export DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash
|
||||
```
|
||||
@ -48,7 +50,7 @@ npm test
|
||||
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
|
||||
|
||||
## Clients
|
||||
In order to make use of unleash you will probably need a client implementation.
|
||||
In order to make use of unleash you will probably need a client implementation.
|
||||
|
||||
Known client implementations:
|
||||
Known client implementations:
|
||||
- [unleash-client-java](https://github.com/finn-no/unleash-client-java)
|
||||
|
@ -35,7 +35,6 @@ var FeatureTogglesComponent = React.createClass({
|
||||
|
||||
handleError: function (error) {
|
||||
if (this.isClientError(error)) {
|
||||
// TODO: catch SyntaxError
|
||||
var errors = JSON.parse(error.responseText)
|
||||
errors.forEach(function(e) { this.addError(e.msg); }.bind(this))
|
||||
} else if (error.status === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user