Skip to content

Ionic Box: The easiest way to get your hybrid development environment up and running. A Vagrant install for Android, Cordova, and Ionic.

Notifications You must be signed in to change notification settings

benjick/ionic-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ionic Box

Ionic Box is a ready-to-go hybrid development environment for building mobile apps with Ionic, Cordova, and Android. Ionic Box was built to make it easier for developers to build Android versions of their app, and especially for Windows users to get a complete dev environment set up without all the headaches.

For iOS developers, Ionic Box won't do much for you right now unless you are having trouble installing the Android SDK, and Ionic Box cannot be used for iOS development for a variety of legal reasons (however, the ionic package command in beta will soon fix that).

Pre-installation

To install, download and install Vagrant for your platform, then download and install VirtualBox.

Startup

$ git clone https://github.com/benjick/ionic-box
$ cd ionic-box
$ vagrant up

The username for vagrant is vagrant and the password is vagrant.

This will download and install the image, and then go through the dependencies and install them one by one. vagrant ssh will connect you to the image and give you a bash prompt. Once everything completes, you'll have a working box to build your apps on Android.

Connected Android Devices

The image also has support for connected USB Android devices. To test whether devices are connected, you can run (from the box):

$ adb-devices

If that does not work, or shows ????? permissions, then run:

$ adb-restart

Create a project

$ vagrant ssh
$ cd apps
$ ionic start amazeApp sidemenu
$ cd amazeApp
$ ionic platform add android
$ ionic run android

See http://ionicframework.com/getting-started/ for available starter templates

Ionic Serve

$ cd amazeApp
$ ionic serve

Pick the eth0-connection, no localhost. Point your browser to http://localhost:8100/ and you're set.

About

Ionic Box: The easiest way to get your hybrid development environment up and running. A Vagrant install for Android, Cordova, and Ionic.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%