From 4e88508450790ed96cef1ff6df0db1e4fd3ac11d Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Thu, 27 Aug 2015 11:16:30 -0400 Subject: Add build instructions to README --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 29872fb8..d1c34aeb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,38 @@ haven't spent time researching how to optimize. I'll keep refining it over time as I learn more of AngularJS and stuff. +Building +-------- +zmNinja uses the [Ionic Framework](http://ionicframework.com/). To install Ionic, follow their easy [Getting Started instructions](http://ionicframework.com/getting-started/). + +With Ionic installed, you will need to install the build dependencies: + +```bash +$ cd zmNinja # make sure you are in the directory where the project is checked out +$ npm install +``` + +Next, build the application. You will need to specify the appropriate target, either `ios` or `android`: + +```bash +$ ionic build ios +# - OR - +$ ionic build android +``` + +If you want to run zmNinja in an emulator, you will need to install the appropriate emulator tools. + +* For iOS, you will need the latest version of XCode (available in the App Store) as well as the npm package `ios-sim`: `npm install -g ios-sim` +* For Android, you will need the latest [Android Studio](https://developer.android.com/sdk/index.html) + +Now, you can launch the emulator: + +```bash +$ ionic emulate ios +# - OR - +$ ionic emulate android +``` Screenshots: -- cgit v1.2.3