1. 安裝Node
  2. 安裝Firefox Nightly Build
  3. 修改/etc/hosts加入
    127.0.0.1     gaiamobile.org
  4. 安裝gaia
    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
  5. 啟動Firefox Nightly
    /Applications/FirefoxNightly.app/Contents/MacOS/firefox -profile /Users/alive/b2g/gaia/profile --no-remote http://homescreen.gaiamobile.org:8424
  6. 開新分頁about:config,把browser.offline-apps.notify設成false
  7. 加入一個新的Boolean設定值名為dom.w3c_touch_events.enabled設成true
  8. 完成了!

Comments

comments powered by Disqus