Skip to content

Commit

Permalink
Added docs for setting up env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aialok committed Jul 14, 2024
1 parent e796a69 commit 6858ec7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@ git submodule init
git submodule update
```

### Setup Enviroment Variables

Create a new `.env` file by copying the contents of the `.env.example` into `.env` file. Use this command:
```
cp .env.example .env
```
This file contains the following environment variables:

| Variable | Description |
| ---------------------------- | ------------------------------------------------- |
| NEXT_PUBLIC_ALGOLIA_API_KEY | Algolia API key for search |
| NEXT_PUBLIC_ALGOLIA_APP_ID | Algolia App ID for search |

To get the Algolia API key and App ID, you need to create an account on Algolia. You can find more information on how to get the API key and App ID [here](https://www.algolia.com/doc/guides/security/api-keys/#create-and-manage-your-api-keys).


#### Install dependencies

Install dependencies
Expand Down

0 comments on commit 6858ec7

Please sign in to comment.