Code Monkey home page Code Monkey logo

enel-demo's Introduction

uidemo

Flutter demo project based on Enel Energia App.

Getting Started

use flutter 2.2.1 channel stable and Dart 2.13.1.

flutter pub get

flutter run

Architecture

Environments (flavors)

use 'flutter run --flavor dev' or 'stg' or 'prod'

Mock Local Server

  • install Mockoon (available here: https://mockoon.com/)
  • go to lib/mocks/enel-mock.json and import this json file in mockoon and run it (you can access to localhost:3000/)
  • run with flutter run -t lib/main_dev.dart

iOS build in Production:

in order,

  • flutter clean
  • flutter build ios --release --flavor prod -t lib/main_prod.dart
  • Open Xcode and create Archive

in case of error Flutter.framework or Pod install try to: Delete the Flutter.framework folder , Podfile.lock file and then run flutter clean. flutter pub get

Android run

Android build in Production:

In case of iOS error CocoaPods

rm -rf ios/Podfile.lock rm -rf ios/Pods flutter clean flutter run

enel-demo's People

Contributors

alessiocampanelli avatar acampanelli-altran avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.