Skip to content

waristonpereira/vagrant-ionic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

vagrant-ionic

VagrantBox for VirtualBox

Ready-to-go hybrid development environment for building mobile apps with Ionic, Cordova, and Android.

Based on https://github.com/ionic-team/ionic-box

Minor adjusts:

  • base ubuntu/xenial64
  • Node 6 LTS
  • Ionic latest version

Installation

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

Once Vagrant and VirtualBox are installed, you can download the latest release of this GitHub repo, and unzip it. cd into the unzipped folder and run:

$ vagrant up
$ vagrant ssh

The username for vagrant is ubuntu. Run your commands using sudo.

Your shared folder is /ionic-projects connected to local folder inside directory of vagrant files.

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):

$ sudo /home/ubuntu/android-sdk-linux/platform-tools/adb devices

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

sudo /home/ubuntu/android-sdk-linux/platform-tools/adb kill-server
sudo /home/ubuntu/android-sdk-linux/platform-tools/adb start-server

About

Ionic VagrantBox for VirtualBox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages