Giter Club home page Giter Club logo

ibm_mfp_71-with-angular2's Introduction

Running MobileFirst Platform Foundation 7.1 Cordova app with Angular 2

alt text

Prerequisites

Running the sample

  • Clone this repository
$ git clone https://github.com/mfpdev/mfp71-with-angular2.git
  • Deploy the MFRSSAdapter

    • Copy the MFRSSAdapter Copy the MFRSSAdapter folder to the adapters folder on your MFP 7.1 server.

    • Build and deploy the adapter:

      • From the terminal window, navigate into the adapter folder and run the following:
      $ mfp push
  • Install and run the Sample app

    • From the terminal window, navigate into BlogApp and run:
    $ npm install
    • Transpile the TypeScript code in the app folder with gulp commands:

      $ gulp build
      • Or run watch to let gulp transpile the TypeScript code on every time you change something in the app folder.
      $ gulp watch
    • Add the cordova-plugin-mfp plugin :

      $ mfp cordova plugin add cordova-plugin-mfp
    • Add your platform (ios/android):

      $ mfp cordova platform add ios
    • Deploy the application:

      $ mfp push
    • Preview the application:

      $ mfp cordova preview
    • Run the application:

      $ mfp cordova emulate

    Caution: Always run Cordova commands using the mfp CLI (e.g mfp cordova emulate). Running Cordova directly will cause the app to stop working since MFP 7.1 does not work with Cordova version beyond 3.7

    Supported Levels

    IBM MobileFirst Platform Foundation 7.1

    License

    Copyright 2016 IBM Corp.

    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.