Remotely-hosted New Tab Page
Перейти к файлу
Marina Samuel 981f950278 Addressing moar review comments. 2016-02-04 15:16:35 -05:00
bin [#189] implement cssjanus for rtl conversion 2016-01-26 17:02:16 -05:00
l10n Updated l10n files 2015-12-16 16:28:26 +11:00
logs Switch to using logs/ dir for reports 2015-11-21 07:00:15 +11:00
src Addressing moar review comments. 2016-02-04 15:16:35 -05:00
tests Addressing moar review comments. 2016-02-04 15:16:35 -05:00
tests-node localize direction 2016-01-26 13:46:43 -05:00
.codeclimate.yml codeclimate yml 2016-01-08 19:28:09 -05:00
.eslintrc [#164] Restore codeclimate, jscs and fix lint errors 2016-01-08 13:15:14 -05:00
.gitignore initial react merge commit 2016-01-07 14:22:43 -05:00
.jscsrc [#164] Restore codeclimate, jscs and fix lint errors 2016-01-08 13:15:14 -05:00
.travis.yml [Fix #61] Only do coveralls reporting for ci 2016-01-11 13:10:38 -05:00
README.md Update README. 2016-01-11 14:19:01 -05:00
karma.conf.js [Fix #61] Only do coveralls reporting for ci 2016-01-11 13:10:38 -05:00
package.json [#189] implement cssjanus for rtl conversion 2016-01-26 17:02:16 -05:00
webpack.config.js tests 2016-01-08 18:07:41 -05:00

README.md

New tab

This is a remote implementation of the "new tab" page for Firefox. It can be run inside the browser, or on its own with a "platform" shim.

Developer Setup

Web assets

git clone https://github.com/mozilla/remote-newtab.git
cd remote-newtab
npm install && npm start

This will start a dev server and build all necessary files in developer mode

Firefox

First, clone the Firefox code currently in development for this repo in at mozilla/newtab-dev.

git clone https://github.com/mozilla/newtab-dev.git

Edit the file at browser/components/newtab/RemoteNewTabLocation.jsm to point to http://localhost:1944:

-const DEFAULT_PAGE_LOCATION = "http://localhost:8000/" +
-                              "v%VERSION%/%CHANNEL%/%LOCALE%/index.html";
+const DEFAULT_PAGE_LOCATION = "http://localhost:1944";

Finally, build and run with mach:

./mach build
./mach run