Note
Sponsored by the Open Source project Flagsmith https://github.com/Flagsmith/flagsmith
How friendly is your GitHub Open Source Repo? This project will check to make sure you are using Best Practices to attract more users, contributors and Stars, as well as suggest steps as to how you can improve the Repo to achieve this.
Caution
Node v21+
is required
-
Clone this GitHub Repo
-
Install the dependencies with
npm ci
-
Copy
.env.example
to.env
(you will need an environment key from Flagsmith, this is shown later on) -
Create a free account on Flagsmith https://www.flagsmith.com (you can also sign in with GitHub)
-
Create an Organisation and Project
-
Create the Feature Flags with these steps
a. Create the feature
tagline
by clickingCreate Feature
b. Fill in the Feature Flag form with these details and click
Create Feature
c. (OPTIONAL) Import the flags to your Flagsmith account using the file
./flagsmith.json
(note this will be per environment, for exampledevelopment
) -
Get your environment key from Flagsmith and add to
.env
file
- Run the project with
npm run dev