mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
README cleanup
This commit is contained in:
parent
d30bc6a54c
commit
62f8c731d9
@ -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
|
||||
```
|
||||
|
@ -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