Skip to content

Pet project for learning the basics of Angular 2 and Ionic 2 with Star Wars Api (https://swapi.co)

Notifications You must be signed in to change notification settings

Cotel/swapionic

Repository files navigation

SWAPIONIC

Installation

Prerequisites

$ npm install -g cordova ionic

First thing you should do is npm install.

For launching you can do

$ ionic serve

If you want to see the app as a desktop webapp

or

$ ionic serve -l

This will open the app wrapped in each platform mode (android, ios and windows phone).

If you want to build the app for your mobile phone:

$ ionic platform add android
$ ionic build android
$ ionic run android

For iOS users, you will need macOs and xCode installed. You will need to install two node modules:

$ npm install -g ios-deploy
$ npm install -g ios-sim-version