Vagrant Setup for Pebble SDK
This Vagrant configuration will configure a VM with all the required dependencies for Pebble app development closely following this guide.
- VirtualBox
- tested with version 4.3
- Vagrant
- tested with version 1.7.2
Clone this repository
git clone https://github.com/shalecraig/vagrant-pebble
cd vagrant-pebble
Optional: Checkout the tag matching desired SDK version, master
is on v3.8.2.
git checkout v3.8.2
Create and provision VM
vagrant up
Done!
vagrant ssh
vagrant@vagrant-ubuntu-trusty-64:~$ pebble --version
PebbleSDK v3.8.2
vagrant@vagrant-ubuntu-trusty-64:~$ pebble new-project --simple test
Creating new project test
vagrant@vagrant-ubuntu-trusty-64:~$ cd test/
vagrant@vagrant-ubuntu-trusty-64:~/test$ pebble build
...
'build' finished successfully (0.160s)
To use the emulator, you'll need to start VirtualBox in GUI mode. You can do this by
uncommenting "vb.gui = true
" in the Vagrantfile, then running vagrant reload
.
- OS: Ubuntu 14.04 x64
- WM: OpenBox
- RAM: 2GB