Created
May 21, 2012 20:34
-
-
Save arcturus/2764493 to your computer and use it in GitHub Desktop.
Compiling gaia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clone the official gaia repo, or just clone it | |
git clone https://github.com/mozilla-b2g/gaia.git | |
cd gaia | |
# Make will 'build the project'. | |
# This means that the app cache manifest for each app will be create automatically (for those that have a manifest.webapp) | |
# Offline cache will be build with the current apps | |
# The user profile will be fill with the relevant information and the permissions per application | |
make | |
# If you want to deploy that into a phone: | |
make install-gaia | |
# Taking a screenshot from the phone | |
make screenshot | |
# Developing in Firefox Nightly AKA real time | |
DEBUG=1 make | |
/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin -profile <full_path_to_the_profile_directory> | |
#This will require that you add the following entries to your /etc/hosts file: | |
#Gaia | |
127.0.0.1 gaiamobile.org | |
127.0.0.1 homescreen.gaiamobile.org | |
127.0.0.1 dialer.gaiamobile.org | |
127.0.0.1 sms.gaiamobile.org | |
127.0.0.1 browser.gaiamobile.org | |
127.0.0.1 maps.gaiamobile.org | |
127.0.0.1 camera.gaiamobile.org | |
127.0.0.1 gallery.gaiamobile.org | |
127.0.0.1 video.gaiamobile.org | |
127.0.0.1 market.gaiamobile.org | |
127.0.0.1 music.gaiamobile.org | |
127.0.0.1 settings.gaiamobile.org | |
127.0.0.1 clock.gaiamobile.org | |
127.0.0.1 crystalskull.gaiamobile.org | |
127.0.0.1 penguinpop.gaiamobile.org | |
127.0.0.1 towerjelly.gaiamobile.org | |
127.0.0.1 wikipedia.gaiamobile.org | |
127.0.0.1 cnn.gaiamobile.org | |
127.0.0.1 bbc.gaiamobile.org | |
127.0.0.1 nytimes.gaiamobile.org | |
127.0.0.1 calculator.gaiamobile.org | |
127.0.0.1 system.gaiamobile.org | |
127.0.0.1 keyboard.gaiamobile.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment