Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
add instruction for .env and  .gitignore
  • Loading branch information
Roman-wdesign committed Aug 31, 2024
1 parent 35d1371 commit e1589c8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,30 @@ A high level overview of tools used:
#### npm run dev
Create file **_.env_** in this poject (no in src directory)


Put your API key from OpenWeather to VITE_WEATHER_SECRET_API_KEY in
**.env** file of this project.

Example

```
VITE_WEATHER_SECRET_API_KEY = //your API key
VITE_WEATHER_SECRET_API_KEY = 12345
```

prefix **\_VITE\_\_** is required for expose as import.meta.env.VITE_WEATHER_SECRET_API_KEY


Your .env file must be added to your .gitignore file





Install dependencies
```
npm install
```

Run the App
```
npm run dev
```
Expand Down

0 comments on commit e1589c8

Please sign in to comment.