diff --git a/README.md b/README.md index c668b214ce..fa1af2cae8 100644 --- a/README.md +++ b/README.md @@ -167,83 +167,6 @@ The front-end SDKs connects via the [Unleash Proxy](https://docs.getunleash.io/s If none of the official SDKs fit your need, there's also a number of [community-developed SDKs](https://docs.getunleash.io/sdks#community-sdks) where you might find an implementation for your preferred language (such as [Elixir](https://gitlab.com/afontaine/unleash_ex), [Dart](https://pub.dev/packages/unleash), [Clojure](https://github.com/AppsFlyer/unleash-client-clojure), and more). -## What is a feature toggle? - -The main motivation for doing feature toggling is to decouple the process for deploying code to production and releasing new features. This helps reducing risk, and allow us to easily manage which features to enable, and have full control of how we exposed the new feature for. - -> Feature toggles decouple **deployment** of code from **release** of new features. - -This repo contains the unleash-server, which contains the Unleash Admin UI and the Unleash API. To make use of unleash you will also need a client SDK. - -Unleash Admin UI - -[Online demo](https://app.unleash-hosted.com/demo) - -## Segmentation - -It's fine to have a system for turning stuff on and off. But sometimes we want more granular control, we want to decide who the toggle should be enabled for. This is where activation strategies come into the picture. Activation strategies take arbitrary config and allow us to enable a toggle to a specific subset of your users (segment). - -Common activation strategies includes: - -- Active For users with a specified userId -- GradualRollout to X-percent of our users -- Active for our beta users -- Active only for application instances running on host x. - -Read more about [activation strategies in our docs](https://docs.getunleash.io/docs/user_guide/activation_strategy). - -## The Client API - -The [client SDKs](https://docs.getunleash.io/sdks) provides a simple abstraction making it easy to check feature toggles in your application. The code snippet below shows how you would use `Unleash` in Java. - -```java -if (unleash.isEnabled("AwesomeFeature")) { - //do some magic -} else { - //do old boring stuff -} -``` - -## Running Unleash - -The are numbers of ways you can run Unleash. - -1. Unleash Enterprise - Cloud hosted by the Unleash Team. [see plans](https://www.getunleash.io/plans) -2. Unleash Open-Source - Self host with Docker. [Guide](https://docs.getunleash.io/deploy/getting_started#start-unleash-server) -3. Unleash Open-Source - Self host with Node.js [Guide](https://docs.getunleash.io/deploy/getting_started#start-unleash-server) -4. Unleash Open-Source - Helm chart [artifacthub.io](https://artifacthub.io/packages/helm/unleash/unleash) - -### Run from Docker - -1. Create a network by running the following command: - -```sh -docker network create unleash -``` - -2. Start a postgres database: - -```sh -docker run -e POSTGRES_PASSWORD=some_password \ - -e POSTGRES_USER=unleash_user -e POSTGRES_DB=unleash \ - --network unleash --name postgres postgres -``` - -3. Start Unleash via docker: - -```sh -docker run -p 4242:4242 \ - -e DATABASE_HOST=postgres -e DATABASE_NAME=unleash \ - -e DATABASE_USERNAME=unleash_user -e DATABASE_PASSWORD=some_password \ - -e DATABASE_SSL=false \ - --network unleash unleashorg/unleash-server -``` - -The first time Unleash starts it will create a default user which you can use to sign-in to your Unleash instance and add more users with: - -- username: `admin` -- password: `unleash4all` - ## Users of Unleash Unleash is trusted by thousands of companies all over the world (we are tracking more than 90 countries already). Proud Open-Source users: