Git Product home page Git Product logo

composer-ionic's Introduction

generator-composer-ionic

Build Status

The composer-ionic code generation tool produces Ionic framework hybrid mobile applications, that can interact with blockchains using the Hyperledger Composer framework.

Running the mobile application code generation tool

  1. Install Hyperledger Composer pre-requisites

  2. Install Hyperledger Composer development environment

  3. Install the Ionic CLI and Cordova using the command: npm install -g ionic cordova

  4. Install the Composer-Ionic code generation tool using the command: npm install -g generator-composer-ionic

  5. Run the code generation tool using the command: yo composer-ionic

  6. Generated mobile applications can be run in a browser debug mode, by changing into the directory and running the command: npm start

  7. Native platform binaries can be built and run on devices using Apache Cordova

Android Platform Instructions

TODO

iOS Platform Instructions

To run in an iOS simulator:

ionic cordova emulate ios

To run on an iPhone / iPad

  • Ensure the device is connected to your MacBook

  • Launch Xcode on your MacBook

  • Open the Xcode workspace for where the generated iOS artifacts are located. For example: Users/username/APP-NAME/platforms/ios/APP-NAME.xcworkspace

  • Within Xcode, go to Project Settings -> General

  • In the signing section, ensure your name is setup as a personal team next to the Team drop down. If not, select 'Add an account' in the drop down next to Team and supply your Apple ID login info.

  • Go to Build Settings

  • Ensure your team (usually your name) is selected under Development Team in the Signing section. If not, select your name.

  • Near the top-left, click your project name and select your connected iOS device under the device drop down list

  • Click the run icon

  • The app should install automatically on your iOS device.

  • To run the app, on your iOS device, go to General Settings -> Profiles & Device Management -> Developer App.

  • Select your app, and click to trust the app.

(Thanks to @DennisM330 for this guide)

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.