-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add install instructions (#143)
* add install instructions s Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> * Update README.md Co-authored-by: Todd Baert <toddbaert@gmail.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> * add note about systemd Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> * move configuration options link Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com> Co-authored-by: Todd Baert <toddbaert@gmail.com>
- Loading branch information
1 parent
da2d009
commit 5cc5cfb
Showing
4 changed files
with
91 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# High level architecture | ||
|
||
<img src="./images/of-flagd-0.png" width="560"> |
File renamed without changes
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,21 @@ | ||
# Run flagD as a systemd Service | ||
|
||
To install as a systemd service clone the repo and run `sudo make install`. This will place the binary by default in `/usr/local/bin`. | ||
|
||
There will also be a default provider and sync enabled ( http / filepath ) both of which can be modified in the flagd.service. | ||
|
||
Validation can be run with `systemctl status flagd` | ||
And result similar to below will be seen | ||
|
||
``` | ||
flagd.service - "A generic feature flag daemon" | ||
Loaded: loaded (/etc/systemd/system/flagd.service; disabled; vendor preset: enabled) | ||
Active: active (running) since Mon 2022-05-30 12:19:55 BST; 5min ago | ||
Main PID: 64610 (flagd) | ||
Tasks: 7 (limit: 4572) | ||
Memory: 1.4M | ||
CGroup: /system.slice/flagd.service | ||
└─64610 /usr/local/bin/flagd start -f=/etc/flagd/flags.json | ||
May 30 12:19:55 foo systemd[1]: Started "A generic feature flag daemon". | ||
``` |