Add Mapbox token instructions to README
This commit is contained in:
parent
db5fd884b0
commit
329c6f8afd
10
README.md
10
README.md
@ -30,7 +30,15 @@ First, install the dependencies:
|
||||
npm install
|
||||
```
|
||||
|
||||
Then, run the dev server:
|
||||
Then create a file named `.env` at the root of the project with the contents:
|
||||
|
||||
```
|
||||
NEXT_PUBLIC_MAPBOX_TOKEN=tokengoeshere
|
||||
```
|
||||
|
||||
You can get a Mapbox token by [creating a mapbox account and generating a token on the access token page](https://docs.mapbox.com/help/glossary/access-token/).
|
||||
|
||||
Now, run the dev server:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
|
Loading…
Reference in New Issue
Block a user