RobertBrunhage / open-weather-app

A simple weather site built with Flutter
https://openweather.codemagic.app/
3 stars 0 forks source link

Where I have to Place API Key #9

Closed Sreenivas7463 closed 4 years ago

Sreenivas7463 commented 4 years ago

Where I have to Place API Key

RobertBrunhage commented 4 years ago

You create a .env file in the root directory of the project then add the following:

OPEN_WEATHER_API_KEY = MyAPIKeyWouldBeHere

Let me know if it works :)

Sreenivas7463 commented 4 years ago

Hi Robert Brunhage, I Created .env file with my api key but it is not working for me

On Mon, Feb 10, 2020 at 4:10 PM Robert Brunhage notifications@github.com wrote:

You create a .env file in the root directory of the project then add the following:

OPEN_WEATHER_API_KEY: MyAPIKeyWouldBeHere

Let me know if it works :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RobertBrunhage/open-weather-app/issues/9?email_source=notifications&email_token=AOJW4JHYMDZ62YT3WCA7SSTRCEVJFA5CNFSM4KSKV5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIAZ3I#issuecomment-584060141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJW4JHL2A3B32V62WC3A63RCEVJFANCNFSM4KSKV5PA .

RobertBrunhage commented 4 years ago
  1. Be on Flutter channel beta so you can take part of flutter web. https://flutter.dev/docs/get-started/web

  2. See if you have chrome as a device by typing flutter devices. Chrome should be listed here

  3. Now you create the .env file in the root directory of the project and paste as my previous comment.

  4. type flutter run -d chrome to run in the chrome browser.

These should be all the steps, just verified it. If one of the steps are unclear please let me know :)

RobertBrunhage commented 4 years ago

I am closing this issue, if you are still having the same problem, let me know and I will reopen it again :)