Skip to content

Commit

Permalink
begin documenting setup
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherjbaker committed Jun 25, 2024
1 parent 6c8e413 commit bd1112b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ optimizely-as-code
* [CLI Commands](#cli-commands)
<!-- tocstop -->

# Configuring your project

```shell
npm install optimizely-as-code
```

Add to `package.json`
```json
{
"scripts": {
"optimizely-as-code": "optimizely-as-code sync",
},
}
```

Create `optimizely-as-code/features.json`.

Create `optimizely-as-code/events.json`.

Create `optimizely-as-code/experiments.json`.

# Usage in React

```jsx
Expand Down

0 comments on commit bd1112b

Please sign in to comment.