GithubHelp home page GithubHelp logo

swaminathanvetri / appathon-demo-starter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13.41 MB

Hybrid mobile application development demo- using Ionic

JavaScript 75.21% D 0.17% Java 7.65% CSS 14.06% Shell 0.39% Objective-C 2.37% C 0.04% C++ 0.05% C# 0.05%

appathon-demo-starter's Introduction

appathon-demo-starter

Hybrid mobile application built using [ionic] (http://ionicframework.com)

Steps to run this application

  • Install [node.js] (http://nodejs.org)

  • Install ionic and cordova using the below commands

    • $ npm install -g cordova
    • $ npm install -g ionic
  • If any SSL related issues arise on above npm install commands, run the below ones & then re-run the above commands, else skip this step

    • $ npm config set strict-ssl false
    • $ npm config set registry http://registry.npmjs.org
  • Navigate to the directory where this codebase is cloned/downloaded

    • $ ionic serve -- serves the application from a local node server
    • $ ionic serve --lab -- serves the application with a side by side view for android & ios
  • To build for android - Building for android requires android SDK & build tools to be pre-installed

    • Set the ANDROID_HOME environment variable
    • $ ionic platform add android
    • $ ionic build android - runs a cordova build for android platform
    • $ ionic emulate android - runs the application in android emulator, this requires Android AVDs be pre-configured
    • $ ionic run android - runs the application on the device connected via USB
  • To build for ios - Building for ios requires a MAC machine

    • $ ionic platform add ios
    • $ ionic build ios - runs a cordova build for ios
    • $ npm install -g ios-sim - installs the ios simulator (used by ionic emulate command)
    • $ ionic emulate iOS - runs the application in ios simulator
  • To add any plugins for device interaction

    • $ cordova plugin add <plugin-name>/<plugin-url> - plugin-url can be a remote url/local machine's folder where the plugin is downloaded

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.