Git Product home page Git Product logo

mozitp's Introduction

Mozilla Integrated Tool Package

This package is a one-stop shop for Firefox OS related tools

Installation

You need to install Vagrant, see more detail from this guide.

And you also need to install the provider for Vagrant. We will use VirtualBox as default.

Ubuntu

  • Download Vagrant's Debian package from here.
  • Install Vagrant by sudo dpkg -i <PATH_TO_PKG_FILE>
  • Install VirtualBox by sudo apt-get install virtualbox
  • Then set up USB for VirtualBox by sudo adduser <USERNAME> vboxusers
  • Re-login or restart your PC.

Mac OS X

  • Install Brew Cask.
  • Install Vagrant by sudo brew cask vagrant; sudo brew cask vagrant-manager
  • Install VirtualBox by sudo brew cask virtualbox

Cloning the Repo

Use git clone with --recursive so the vm/ submodule are cloned too.

git clone --recursive <this repo's URL>

Usage

  • Add execute permissions
$ chmod u+x launch.sh
$ chmod u+x stop.sh
  • Launch VM
$ ./launch.sh

A Vagrant VM will be launched.

You should see something like this:

menu

  • Stop the VM
$ ./stop.sh
  • Reset the VM to factory default
$ ./reset_vm.sh
  • Run GIJ (Gaia integration test in JavaScript) directly. This is very useful in automation.
$ ./launch.sh gij
  • Run GIJ on specific app
$ export APP=video; ./launch.sh gij # The `export` is important, don't miss it

#Troubleshooting

  • To run launch.sh in jenkins, use xvfb-run.

#Supported Platforms

  • Linux
  • OS X
  • (We will support windows if enought people ask for it)
  • Flashable devices: Aries (Sony Z3C), Flame

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.