albatrosary's blog

UI/UXとエンタープライズシステム

「Running the Gaia codebase」をやってみた!Firefox OSのビルド&エミュレータを動かしちゃった

Sencha Ext JS 5のコードリーディングは疲れたのでひとまず休憩ということで「Firefox OSのビルド&エミュレータ」をやりました。こちらにマニュアルがあります。

 

Running the Gaia codebase - Mozilla | MDN

 

サイトを見ればできますが手順の整理

「Running the Gaia codebase」のサイトを見れば解りますが手順は次の通りです。

  1. mozilla-b2g/gaia · GitHubをフォーク
  2. git clone https://github.com/your-repo-name/gaia.git
  3. cd gaia
  4. git remote add upstream https://github.com/mozilla-b2g/gaia
  5. DEBUG=1 make
  6. /Applications/Firefox.app/Contents/MacOS/firefox -profile /Users/albatrosary/gaia/profile-debug -no-remote

最後の6を実行するとエミュレータが起動します。Firefoxブラウザがエミュレータです、これは感動。

f:id:albatrosary:20140621111312p:plain

f:id:albatrosary:20140621111536p:plain

全部HTMLベース

ソースはHTML、JavaScriptCSSで出来てます。

f:id:albatrosary:20140621111842p:plain