Skip to content

jesusbibieca/modern_weather

Repository files navigation

Build Status codecov

Modern Weather

Stylish Weather app.

Stack

Dependencies

Environmental

Before continue, you need update your brew: $ brew update. This can take a considerable time if you haven't install anything in a while.

  • Download the Android 28 Platform: Run $ /Users/${USER}/Library/Android/sdk/tools/bin/sdkmanager "platforms;android-28" "build-tools;28.0.3

  • Accept android licence: Run $ flutter doctor --android-licenses accept terms and conditions hitting the y key.

  • Install brew dependencies:

    • brew install --HEAD usbmuxd libimobiledevice (Unstable versions 🙀)
    • brew install ios-deploy cocoapods ideviceinstaller (stable versions 😌)
  • Set up cocoapods: $ pod setup (spoiler: this will take a while)

  • Link brew dependencies: $ brew link usbmuxd. If the console yell at you saying that you have already linked, force it: $ brew unlink usbmuxd && brew link usbmuxd

  • Verify that all is well and good running $ flutter doctor. If it doesn't, just follow that the doctor says 👨🏻‍⚕️. You can trust him; all this was extracted from his recommendations.

  • Verify that you have emulators/simulators available: $ flutter emulators. You can create them using the Android Studio/Xcode emulator/simulator GUI, or flutter emulators --create [--name xyz].

  • After that, you can launch it by running: $ flutter emulators --launch <emulator name id>

Develop

  1. Before starting the app You need to make sure you have a API key form the http://openweathermap.org/
  2. After you have sign up for you API key:
  3. Create a .env file in the root directory of the project
  4. Go to the environment template file and copy it's content
  5. Paste it on the .env file and replace the template with your API key
  6. Launch your emulator/simulator: $ flutter emulators --launch <emulator name id>
  7. Run the app: $ flutter run

Testing

  1. Run: $ flutter test

Flutter Docs

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Flutter - Weather app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published