Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/launchdarkly/hello-electron
Hello LaunchDarkly for Electron
https://github.com/launchdarkly/hello-electron
Last synced: 3 months ago
JSON representation
Hello LaunchDarkly for Electron
- Host: GitHub
- URL: https://github.com/launchdarkly/hello-electron
- Owner: launchdarkly
- License: other
- Created: 2018-12-05T00:32:35.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T11:57:43.000Z (about 1 year ago)
- Last Synced: 2024-01-21T23:09:35.222Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 37
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-launchdarkly - Electron Hello
README
## LaunchDarkly sample Electron application
We've built a simple Electron application that demonstrates how LaunchDarkly's SDK works.
Below, you'll find the build procedure. For more comprehensive instructions, you can visit your [Quickstart page](https://app.launchdarkly.com/quickstart#/) or the [Electron SDK reference guide](https://docs.launchdarkly.com/sdk/client-side/electron).
### Build instructions
1. In LaunchDarkly, make sure you have at least one feature flag. For each flag, check the "Make this flag available to client-side SDKs" box in the flag's **Settings** tab.
2. Edit `main.js` and set the value of `launchDarklyEnvironmentId` to your LaunchDarkly client-side ID.```
const launchDarklyEnvironmentId = 'myClientSideID';
```3. Install dependencies: `npm install`.
4. Start the application: `npm start`.The application displays a table of flag keys and flag values for the example user.