Setup Gaia on Mac With Firefox Nightly Build

- - posted in gaia | Comments

1
PKG: [https://sites.google.com/site/nodejsmacosx/](https://sites.google.com/site/nodejsmacosx/)
  1. 安裝Firefox Nightly Build
  2. 修改/etc/hosts加入
1
127.0.0.1     gaiamobile.org
  1. 安裝gaia
1
2
3
4
5
6
7
8
mkdir b2g
cd b2g
git clone git://github.com/andreasgal/gaia.git
git clone git://github.com/jrburke/gaia-devserver.git
cd gaia
GAIA_DOMAIN=gaiamobile.org:8424 make
cd ..
node gaia-devserver/devserver.js docRoot=gaia/apps
  1. 啟動Firefox Nightly
1
/Applications/FirefoxNightly.app/Contents/MacOS/firefox -profile /Users/alive/b2g/gaia/profile --no-remote http://homescreen.gaiamobile.org:8424
  1. 開新分頁about:config,把browser.offline-apps.notify設成false
  2. 加入一個新的Boolean設定值名為dom.w3c_touch_events.enabled設成true
  3. 完成了!

Comments