-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6545f23
commit c6d324c
Showing
32 changed files
with
1,488 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,45 @@ | ||
# Flagr Quickstart Guide | ||
# Get Started | ||
|
||
Flagr delivers the right experience to the right entity and monitors the impact. It’s a micro service that provides the functionality of feature flags, experimentation (A/B testing), and dynamic configuration. | ||
Flagr is an open source Go service that delivers the right experience to the right entity and monitors the impact. It provides feature flags, experimentation (A/B testing), and dynamic configuration. It has clear swagger REST APIs for flags management and flag evaluation. For more details, see [Flagr Overview](/flagr_overview) | ||
|
||
## Install from Source | ||
## Install | ||
|
||
Source installation is only intended for developers and advanced users. | ||
Build from source. | ||
|
||
```bash | ||
# Make sure go is installed | ||
# https://golang.org/doc/install | ||
|
||
```sh | ||
# get the source | ||
go get -u github.com/checkr/flagr | ||
cd $GOPATH/src/github.com/checkr/flagr | ||
|
||
# docker-compose with the infra | ||
docker-compose up | ||
|
||
# install dependencies, generated code, and run the app | ||
cd $GOPATH/src/github.com/checkr/flagr | ||
make all | ||
``` | ||
|
||
## Test using Flagr UI | ||
Flagr Server comes with an embedded web based UI. Point your web browser to http://127.0.0.1:18000 ensure your server has started successfully. | ||
Build from docker. | ||
|
||
|
||
## Explore Further | ||
- [Flagr QuickStart Guide]() | ||
- [Flagr Documentation Website]() | ||
```bash | ||
# Start the docker container | ||
docker run -it -p 18000:18000 checkr/flagr | ||
|
||
## Contribute to Flagr Project | ||
Please follow Flagr [Contributor's Guide](https://github.com/checkr/flagr/blob/master/CONTRIBUTING.md) | ||
# Or with attached volume | ||
docker run -it -p 18000:18000 -v /tmp/flagr_data:/data checkr/flagr | ||
``` | ||
|
||
## Deploy | ||
|
||
We recommend directly use the checkr/flagr image, and configure everything in the env variables. See more in [Server Configuration](/flagr_env). | ||
|
||
```bash | ||
# Set env variables. For example, | ||
export HOST=0.0.0.0 | ||
export PORT=18000 | ||
export FLAGR_DB_DBDRIVER=mysql | ||
export FLAGR_DB_DBCONNECTIONSTR=root:@tcp(127.0.0.1:18100)/flagr?parseTime=true | ||
|
||
# Run the docker image. Ideally, the deploymenet will be handled by Kubernetes or Mesos. | ||
docker run -it -p 18000:18000 checkr/flagr | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<img src="/images/logo.png" width="180"> | ||
|
||
<p style="color: white; font-size: 1.6em"> | ||
Open source feature flagging, A/B testing, <br> | ||
and dynamic configuration microservice in Go. | ||
<br> | ||
<br> | ||
</p> | ||
|
||
[GitHub](https://github.com/checkr/flagr) | ||
[Get Started](/README) | ||
|
||
![color](#74e5e0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
- [Flagr Quickstart Guide](README.md) | ||
- [Introduction](Introduction.md) | ||
- What's Flagr | ||
- [Get started](README.md) | ||
- <a href="https://checkr.github.io/flagr/api_docs" target="_blank">API</a> | ||
- Introduction | ||
- [Overview](flagr_overview.md) | ||
- [Use Cases](flagr_use_cases.md) | ||
- [Debug Console](flagr_debugging.md) | ||
- Server Configuration | ||
- [Env](flagr_env.md) | ||
- Client SDKs | ||
- [Ruby SDK](https://github.com/checkr/rbflagr) | ||
- Go SDK (coming soon) | ||
- JavaScript SDK (coming soon) | ||
- FAQ |
Oops, something went wrong.