feedhenry-templates / quickstart-ionic-app

Ionic Hello World App
Apache License 2.0
0 stars 10 forks source link

QuickStart Ionic Client-side Template


Author: Erik Jan de Wit
Level: Intermediate
Technologies: Javascript, Cordova, RHMAP
Summary: A basic HTML5/ Ionic Hybrid client side template with RHMAP.
Community Project: Feed Henry
Target Product: RHMAP
Product Versions: RHMAP 3.8.0+
Source: https://github.com/feedhenry-templates/sync-cordova-app
Prerequisites: fh-js-sdk : 2.14.+, Cordova 5.0+

What is it?

This application is abasic HTML5/ Ionic Hybrid client side template, it should be used in combination with the HelloWorld cloud app. Refer to www/fhconfig.json for configuration.

If you do not have access to a RHMAP instance, you can sign up for a free instance at https://openshift.feedhenry.com/.

How do I run it?

RHMAP Studio

This application and its cloud services are available as a project template in RHMAP as part of the "Backbone Hello World Project" template.

Local Clone (ideal for Open Source Development)

If you wish to contribute to this template, the following information may be helpful; otherwise, RHMAP and its build facilities are the preferred solution.

Prerequisites

Build instructions

npm dependencies

The fh-js-sdk and other development dependencies are defined in package.json and included in a www/main.js.

Updating fh-js-sdk version

To update the JS SDK:

Grunt

This template uses Grunt, the Javascript Task Runner. To use Grunt with this Template App, do the following:

FeedHenry local development

You can also use Grunt to point your App at a local developement server. To do this, use the grunt serve:local command. Some notes on using the serve:local task:

  app: {
    // configurable paths
    app: 'www',
    url: '',
    default_local_server_url: 'http://localhost:8001'
  },