All Projects → ltpitt → vagrant-pebble-sdk

ltpitt / vagrant-pebble-sdk

Licence: MIT license
This repo contains allows you to quickly and easily create a Virtual Machine with a working Pebble SDK install using Vagrant and Virtualbox

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to vagrant-pebble-sdk

iosxrv-x64-vbox
IOS XR VirtualBox Vagrant Image Generation tools
Stars: ✭ 72 (+453.85%)
Mutual labels:  vagrant, virtualbox
Packer
Packer helpers and templates for Docker, IIS, SQL Server and Visual Studio on Windows and Ubuntu
Stars: ✭ 242 (+1761.54%)
Mutual labels:  vagrant, virtualbox
Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (+1430.77%)
Mutual labels:  vagrant, virtualbox
Trellis
WordPress LEMP stack with PHP 8.0, Composer, WP-CLI and more
Stars: ✭ 2,295 (+17553.85%)
Mutual labels:  vagrant, virtualbox
guix-vm
Scripts and support necessary to make a GuixSD Virtualbox image
Stars: ✭ 18 (+38.46%)
Mutual labels:  vagrant, virtualbox
Box
[DEPRECATED] Official, pre-packaged Vagrant Box
Stars: ✭ 197 (+1415.38%)
Mutual labels:  vagrant, virtualbox
Packer Centos 7
This build has been moved - see README.md
Stars: ✭ 223 (+1615.38%)
Mutual labels:  vagrant, virtualbox
Arch Boxes
Arch-boxes provides automated builds of the Arch Linux releases for different providers and post-processors (read-only mirror)
Stars: ✭ 149 (+1046.15%)
Mutual labels:  vagrant, virtualbox
packer-windows
Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
Stars: ✭ 1,116 (+8484.62%)
Mutual labels:  vagrant, virtualbox
packer-centos
Create CentOS images for different hypervisors with Packer
Stars: ✭ 18 (+38.46%)
Mutual labels:  vagrant, virtualbox
upstream-institute-virtual-environment
A Vagrant-based image creator for OpenStack Upstream Training sessions
Stars: ✭ 18 (+38.46%)
Mutual labels:  vagrant, virtualbox
vagrant-boot2docker-swarm
A multi-machine Docker swarm Vagrant environment
Stars: ✭ 16 (+23.08%)
Mutual labels:  vagrant, virtualbox
Nixbox
NixOS Vagrant boxes [[email protected]]
Stars: ✭ 189 (+1353.85%)
Mutual labels:  vagrant, virtualbox
nodejs-dev-vm
DEPRECATED Simple Node.js Development VM using Vagrant + VirtualBox + Ansible
Stars: ✭ 25 (+92.31%)
Mutual labels:  vagrant, virtualbox
Ansible Vault
🔑 Ansible role for Hashicorp Vault
Stars: ✭ 189 (+1353.85%)
Mutual labels:  vagrant, virtualbox
Packer Templates
Scripts and Templates used for generating Vagrant images
Stars: ✭ 219 (+1584.62%)
Mutual labels:  vagrant, virtualbox
Vermin
The smart virtual machines manager. A modern CLI for Vagrant Boxes.
Stars: ✭ 110 (+746.15%)
Mutual labels:  vagrant, virtualbox
Kubernetes Vagrant Centos Cluster
Setting up a distributed Kubernetes cluster along with Istio service mesh locally with Vagrant and VirtualBox, only PoC or Demo use.
Stars: ✭ 1,750 (+13361.54%)
Mutual labels:  vagrant, virtualbox
Vagrantboxes
Handcrafted Arch Linux Vagrant base box with ❤️
Stars: ✭ 242 (+1761.54%)
Mutual labels:  vagrant, virtualbox
development-environment
A development environment for Java, Python, Node.js and Go built using Vagrant
Stars: ✭ 50 (+284.62%)
Mutual labels:  vagrant, virtualbox

GitHub Issues Total Commits GitHub commit activity License Contributions welcome

Pebble SDK Vagrant machine

This repo allows to install a functional Pebble SDK in a Vagrant (more about Vagrant) Ubuntu Linux virtual machine.
Once installed it will be possible to develop Pebble applications written in C or Javascript and send them to your smartwatch.

Prerequisites for Vagrant

Installation

git clone https://github.com/ltpitt/vagrant-pebble-sdk.git
cd vagrant-pebble-sdk
vagrant up
vagrant ssh

How to use

The VM is configured to automatically switch to ubuntu user when you connect. Always be sure that you are using the ubuntu user in the local machine, otherwise the Pebble SDK will not work.

In case your user is not switched automatically to the ubuntu user you can do it manually with this command:
sudo su - ubuntu

To create a new Pebble project:
pebble new-project yourprojectname

To build a project enter its folder and use:
pebble build

If you want to create a PebbleJs project you can use the pebblejs template folder available in /home/ubuntu/pebblejs

All you need to do is customize:
/home/ubuntu/pebblejs/appinfo.json
and write your code in:
/home/ubuntu/pebblejs/src/js/app.js

Learning Material

In the repo you will also find learning-c-with-pebble.pdf and pebble-development-with-javascript.pdf.
learning-c-with-pebble.pdf will help not only to learn writing apps for Pebble but also a good foundation of the C language.
I downloaded the pdf from the gitbook page here:
https://legacy.gitbook.com/book/pebble/learning-c-with-pebble/details

The pebble-development-with-javascript.pdf is just a simple introduction about how to write an app with Javascript on Pebble thanks to PebbleJS.
pebble-development-with-javascript.pdf is just a good tutorial I've found and saved as pdf. Original tutorial is available here:
https://www.sitepoint.com/pebble-watch-development-javascript/

Notes

All Pebble important files no longer available on Amazon but they are now available in this repo and also have a mirror here:
https://github.com/aveao/PebbleArchive

Docker

I've also read that someone was able to complete a Docker container too, here's the link:
https://hub.docker.com/r/dmorgan81/rebble/

Release History

  • 0.0.4

    • Fixed issue in installing virtualenv that prevented successful provisioning
  • 0.0.3

    • Added code to always do vagrant ssh as ubuntu user
  • 0.0.2

    • Added files that were taken down from Fitbit to the repo
  • 0.0.1

    • Manual install script is complete and tested

Meta

Davide Nastri – [email protected]

Distributed under the GPL license. See LICENSE for more information.

https://github.com/ltpitt/vagrant-cloudpebble-composed

Contributing

  1. Fork it (https://github.com/ltpitt/vagrant-pebble-sdk/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].